Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

CORS #13

Open
jonau opened this issue Jan 8, 2023 · 1 comment
Open

CORS #13

jonau opened this issue Jan 8, 2023 · 1 comment
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@jonau
Copy link
Contributor

jonau commented Jan 8, 2023

for cors options server responds with 500

auth

01/08/2023 6:37:30 PM
getAuth called
01/08/2023 6:37:30 PM
getAuth failed: Error: Authorization parameter is missing

gateway

01/08/2023 6:33:33 PM
141.24.210.126 - - [08/Jan/2023:17:33:33 +0000] "OPTIONS /devices HTTP/1.1" 500 579 "http://localhost:8081/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36" "141.24.210.126" ""
01/08/2023 6:33:33 PM
2023/01/08 17:33:33 [error] 29#29: *381 auth request unexpected status: 500 while sending to client, client: 141.24.210.126, server: api.goldi-labs.de, request: "OPTIONS /devices HTTP/1.1", host: "api.goldi-labs.de", referrer: "http://localhost:8081/"
01/08/2023 6:36:25 PM
2023/01/08 17:36:25 [error] 29#29: *383 auth request unexpected status: 500 while sending to client, client: 141.24.210.126, server: api.goldi-labs.de, request: "OPTIONS /devices HTTP/1.1", host: "api.goldi-labs.de", referrer: "http://localhost:8081/"
01/08/2023 6:36:25 PM
141.24.210.126 - - [08/Jan/2023:17:36:25 +0000] "OPTIONS /devices HTTP/1.1" 500 579 "http://localhost:8081/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36" "141.24.210.126" ""
01/08/2023 6:37:30 PM
2023/01/08 17:37:30 [error] 29#29: *385 auth request unexpected status: 500 while sending to client, client: 141.24.210.126, server: api.goldi-labs.de, request: "GET /devices HTTP/1.1", host: "api.goldi-labs.de"
01/08/2023 6:37:30 PM
141.24.210.126 - - [08/Jan/2023:17:37:30 +0000] "GET /devices HTTP/1.1" 500 579 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36" "141.24.210.126" ""
@jonau
Copy link
Contributor Author

jonau commented Feb 10, 2023

27f2a3d addressed it in a very general way. But we certainly should create a more narrow CORS configuration.

@jonau jonau added enhancement New feature or request good first issue Good for newcomers labels Feb 10, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant