Google Cloud Storage "upload cannot be completed" w/ error: "storage.objects.create" - google-cloud-storage

Been using the Google Cloud Storage to upload archives of my files weekly, until suddenly this error now appears.
Upload cannot be completed
You don't have permission to upload files to this bucket. Contact the bucket or project owner to be given the "storage.objects.create" permission.
I have tried to grant myself the storage.objects.create permission, even when on the very same page I can verify I have that very permission it still complains that I do not have it.

This is a typical U.I. internal issue on GCP. More people had this issue and it was solved. You can use the upload button as a workaround, but in order to solve it you have 2 options. In case you are entitled to have support you can open a support ticket, stating your context. The other option, in case you are not entitled for support is creating a public issue tracker.
To investigate this issue further, the entitled teams will need you to record a HTTP Archive HAR while
recreating the steps that led to the error, then attach the saved HAR file to
the issue description. HAR files contain header and request information for a browsing
session and are useful for troubleshooting a variety of problems. Detailed
instructions can be found here.
A HAR file can contain sensitive information including, but not limited to,
passwords, cookies, private keys and credit card numbers. As such, it is better that you review the generated HAR file, and sanitize it of any such
information.
Additionally, it is advised that you sign out of any sessions that were active
during the time that the HAR file was generated in order to invalidate them.
Incognito mode is not enough to guarantee this, as the session may still be
active, even after closing the incognito window.

Related

Tiki File upload failed: Potential cross-site request forgery (CSRF) detected

I really don't know where to start on this one. I have configured Tiki to use the File Galleries feature. Every time I try to upload a file, I get an error. I have tried to for a couple of days to find the right Google search but have had no luck.
or
The error occurs using the admin account or a regular user account.
I am using Tiki 20.2svn.

Failed to connect to my Github Account with 2FA enabled after google authenticator reinstall

I had to get a new laptop and at the same time had to format my mobile where Google Authenticator was installed. Now when I try to login to my GitHub Account it asks for this 2FA option whereas I don't have it and also not sure what recovery keys its asking.
Is there anyone who has seen this issue. How can I get that bar code generated again for my account?
I have tried checking the internet but didn't find anything which could resolve this.
Have issue with only my Github Account.
GitHub provides instructions for recovering access to your account.
The first option it recommends is to use a recovery code¹, but it sounds like you don't have those. You would have received them when you first set up 2FA, and would have been prompted to put them in a safe place.
Another good option is to use your fallback phone number, assuming you configured one.
If neither of these options will work for you, please read the rest of the options listed on the page I linked above. You may need to contact GitHub support.
¹Note that you should also have received recovery codes for Google Authenticator itself. You should be able to use these to regain access to Google Autenticator which you can then use to log into GitHub.

Serve file with google cloud storage, google compute engine and external website

I got a question regarding a upload, edit and serve setup.
I have a setup where my shopify website lets users upload images to a google cloud bucket with javascript. When the file is uploaded to the bucket it's send to a compute engine which edits the files and the file is then uploaded to another bucket. All this is done.
But now I want to serve the file to the user on my shopify website. I can't figure out a way to do this. Is it even possible with my current setup? My problem is how to identify the user-session which uploaded the file, so that I can serve the file back to that person.
I hope someone has knowledge about this and is willing to help. Thanks!
Every person that logs into a Shopify store gets a customer ID. You can use this for your uploads. Ensure images get manipulated with that ID in mind. Now, use an App Proxy that sends the same customer ID to your App. Your App can then use this ID to find the image previously uploaded, and you can return it to the shop. A very common pattern of Shopify use.
As for getting the customer ID, one way is to dump it using Liquid since you have {{ customer.id }} or you can sniff it out of the cookies Shopify stores for a user session. It exists, but you'll have to dig for it, I forget its exact code.

Google Cloud Storage Bucket won't let me share files

I'm trying to host files on a Google Cloud Bucket. I've used the service before, but now it's acting up on me with a new bucket for a different client.
For some reason, when I click the "Share Publicly" checkbox, it instantly unchecks itself and refuses to share the file.
Can anyone tell me how to fix this?
Update: After more experimentation, I've found that my client's account completely refuses to allow sharing for some unexplained reason. He's entered his billing information and is still on Trial time, but I don't know if that has anything to do with the issue. I've tried creating other buckets and modifying permissions with GSUTIL but no luck.

How do I get an error report from a "Please tell Microsoft about this" dialog?

A program I wrote crashes on startup. (Win XP).
A dialog "Please tell Microsoft about this problem." appears. I want to be told about the problem since it's my app.
Thing is, clicking through (clicking link: 'View the contents of the error report'), the "Error Report Contents" dialog doesn't let my customers copy its contents to the clipboard.
Do you know how a user can get a copy of this report to forward to me, the developer?
Don't worry. The developers can subscribe to WinQual. Microsoft will then forward the error reports to them.
Windows Error Reporting is part of Microsoft's Winqual service.
Sign up at the Winqual web site. Instead of just using a username/password to log in, you'll need to purchase an SSL certificate to identify yourself and your organization. This costs $99 if you only need the cert for identification purposes. If you also want to use it to sign code, it's $499.
Run the Microsoft Product Feedback Mapping Tool (available from the Winqual site) on a local copy of your application, and submit the results to the Winqual web site. This registers your application with Winqual.
From this point forward, any errors reported via Windows Error Reporting against your submitted applications are available to you if you log in to Winqual.
Use Alt-printscreen that grabs a copy of the active window, then paste it into word or something.