itchio / itch.io

:bug: Public itch.io issues tracker and documentation - use support instead for private information!
https://itch.io/support
239 stars 25 forks source link

Error uploading files and error posting in the forums #1344

Open Kiaazad opened 2 years ago

Kiaazad commented 2 years ago

I'm getting Server failed to respond, please try again later error, when trying to upload cover images, and when I've tried to report it on the forums, I get this: image

The only option remained to report the issue was github.

Kiaazad commented 2 years ago

This is still going on... And I've tried everything:

Got the same error every time. Unfortunately the error doesn't provide any technical information that might help either. The only relief was few days in the middle when I successfully posted one or two projects. Considering what I post is free assets, getting this much grief in return and not a single answer in 25 days is pretty disheartening.

leafo commented 2 years ago

Are you able to share your account URL with me? It will help me look up the error if our server was able to record it. Also, you can try opening the browser console before attempting to upload an image to see if anything meaningful is written into the log. You may also may want to consider reviewing or temporarily disabling any browser extensions to see if that makes a difference.

Regarding the error in the first screenshot you shared, the way you pasted the image into the body of the post embedded it as base64 into the HTML which is why it's hitting the limit on "body" length. You'll have to use the image upload tool to add images to your post.

Kiaazad commented 2 years ago

Sure, it's https://kia.itch.io/ just checked and got the same error.

For the image, thank you for the tip, I'll try to keep that in mind. Since recently most platforms allow directly pasting image to upload, that became my go to method that I usually try first. My bad ^^

leafo commented 2 years ago

Unfortunately I don't see any server-side errors recorded on system associated with your account, which leads me to believe it might be a client-side error being misreported as a server-side one.

Can you can please try again with your browser console open to see if there are any error messages in the log that might point us in the right direction.

Kiaazad commented 2 years ago

Here's the firefox console errors:

Referrer Policy: Ignoring the less restricted referrer policy “no-referrer-when-downgrade” for the cross-site request: https://itchio.commondatastorage.googleapis.com/ bundle.min.js:1:129127
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://itchio.commondatastorage.googleapis.com/. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing). Status code: 200.
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://itchio.commondatastorage.googleapis.com/. (Reason: CORS request did not succeed). Status code: (null).

and Chrome:

1663819:1 Failed to load https://itchio.commondatastorage.googleapis.com/: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://itch.io' is therefore not allowed access.
Kiaazad commented 2 years ago

I've had to resort to testing various VPN services, a very slow Keiro VPN seems to solve the problem, if that information is of any help.

leafo commented 2 years ago

It sounds like your network or the region you are located in is restricting access to Google's services. Unfortunately I don't believe there is anything we can do.

The errors you linked suggest either the request is being hijacked to return something else, or it is being proxied and the headers that normally would be there are being stripped.

Kiaazad commented 1 year ago

The real solution would be decoupling your website from google services, but there is also the easy solution of providing an alternative method to add an image. Drop box works for the main uploads, it can be added for the thumbnail too. The amount of time that I have to connect and disconnect, login and try to upload the thumbnail, is the biggest chunk of time I have to spend in the whole process.