Can't continue upload, session expired. Please, start upload again. [403]
See original GitHub issueI am having an issue when trying to upload files i receive a 403 : Can’t continue upload, session expired. Please, start upload again. [403]
Meteor-files 2.0.1 Meteor 2.1
Cannot reproduce on localhost (working fine on development)
Server logs
3577|demo | 2021-03-15 09:18 +01:00: [FilesCollection] [File Start HTTP] file.pdf - xvbNMxEdkxymmuFWE
3577|demo | 2021-03-15 09:18 +01:00: [FilesCollection] [Upload] [HTTP Start Method] Got #-1/3 chunks, dst: file.pdf
3577|demo | 2021-03-15 09:18 +01:00: [FilesCollection] [Upload] [HTTP] Got #1/3 chunks, dst: file.pdf
3577|demo | 2021-03-15 09:18 +01:00: [FilesCollection] [Upload] [HTTP] Got #2/3 chunks, dst: file.pdf
3577|demo | 2021-03-15 09:18 +01:00: [FilesCollection] [Abort Method]: xvbNMxEdkxymmuFWE - /home/apps/demo/uploads/rKUploads/xvbNMxEdkxymmuFWE.pdf
3577|demo | 2021-03-15 09:18 +01:00: [FilesCollection] [remove({"_id":"xvbNMxEdkxymmuFWE"})]
3577|demo | 2021-03-15 09:18 +01:00: [FilesCollection] [unlink(xvbNMxEdkxymmuFWE, undefined)]
3577|demo | 2021-03-15 09:18 +01:00: [FilesCollection] [_preCollectionCursor.observe] [removed]: xvbNMxEdkxymmuFWE
3577|demo | 2021-03-15 09:18 +01:00: [FilesCollection] [_preCollectionCursor.observe] [removeUnfinishedUpload]: xvbNMxEdkxymmuFWE
Client logs
The error occurs on different servers (Our application is deployed on different servers i.e. we have multiple independent apps on multiple servers and the error is the same) This was working fine for a long time. We recently changed some settings in cloudflare (I don’t know if this is a hint)
Thanks for your help.
Issue Analytics
- State:
- Created 3 years ago
- Comments:10 (4 by maintainers)
Top Results From Across the Web
What Is the 403 Forbidden Error and How to Fix It (8 Methods ...
1. Check the .htaccess File · 2. Reset File and Directory Permissions · 3. Disable WordPress Plugins · 4. Upload an Index Page...
Read more >How to Fix Session Has Expired Error on the Internet
If your Internet connection is unstable, periodically disconnecting and reconnecting, it can cause a website session to expire. When the ...
Read more >403 Forbidden error: What it is and how to fix it - Allconnect.com
It simply means that, for some predetermined reason, the website's content you're trying to access is being blocked. The reason might be within ......
Read more >How to Fix 'Your Session Has Expired, Please Refresh and ...
How to Fix 'Your Session Has Expired, Please Refresh and Try Again ' Error on Reddit.There have been many issues with Reddit lately...
Read more >How to Fix 403 Forbidden Error on Google Chrome
The 403 Forbidden error means that your browser thinks you don't have permission to view the web page or internet resource at the...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Thanks for your help on the phone. We solved the problem by adding a cloudflare rule :
I see a 408 (as you mentioned before).
I received a 403. Strange. There might be something with the caching of cloudflare ?