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

MalformedSecurityHeader Error when requested to GCS #4

Open
Nasfy opened this issue Mar 13, 2023 · 0 comments
Open

MalformedSecurityHeader Error when requested to GCS #4

Nasfy opened this issue Mar 13, 2023 · 0 comments

Comments

@Nasfy
Copy link

Nasfy commented Mar 13, 2023

Got an error connecting to storage.googleapis.com
Screenshot from 2023-03-13 18-03-09
Using ngx.cookie_time(ngx.time()) we get Date: "Thu, 18-Nov-10 11:27:35 GMT" in request header
With this format, the request to s3 passes normally, but to gcs falls.
After some experimentation, I came to the conclusion that ngx.http_time(ngx.time()) working for s3 and gcs also.
Maybe ngx.http_time more efficient than ngx.cookie_time?

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

No branches or pull requests

1 participant