Comments (3)
I can't reproduce... Can you provide a screen shot of where you're seeing the multiple requests "on the server"?
Thanks.
from papercut-smtp.
I have updated the issue with more detailed instructions. This is an screenshot from the webhook.site service. (I discovered the problem using my own server, but using a third party now to verify). Also notice the same timestamp.
from papercut-smtp.
So this "bug" just cost me like 3 hours of dev time on a project because it was messing with my requests. The phantom first link was executing the action and then the 2nd real request would fail (rightfully) because the first "phantom" request already did the action the link that was "emailed" to me was supposed to do.
The trick to the bug and why some may not be able to reproduce it, it seems is a default browser configuration issue. If you use EDGE as your default browser, then it's likely that you cannot reproduce this bug.
My default browser is Chrome. When I click a link that was "emailed" to my papercut receptacle, I see two requests almost simulaniously on my server with two different user agents:
The first (phantom) request I get:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36 Edg/113.0.1774.42
The 2nd request which I see open in my chrome:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36
It seems like somehow papercut is trying to open the request in Edge, but my system knows chrome is my default browser so then it passes the "Job" to open the link to chrome, but never stops the Edge api from making the web request. It never actually creates an Edge window though, so you would never know this request was happening unless its messing with the secondary request being fulfilled by chrome by performing the action first breaking the action attempt for the chrome request.
I was only able to finally figure this out by putting a request logger directly in my app entry point...
At least I'm aware of this so I wont waste more time on this but this is a real gnarly bug.
from papercut-smtp.
Related Issues (20)
- Papercut not functioning HOT 2
- CPU and memory consumption high when running for a long period of time HOT 2
- Papercut is not started on Windows 11 HOT 1
- Add option to ignore ssl problems
- SMTP HOT 2
- Mask passwords in rules HOT 1
- Remove Emply Directories on Exit HOT 7
- Provide a task icon to the server and not just the client
- Customize the Papercut inbox HOT 1
- How and where to clean the emails older than few days? HOT 1
- Where is Install-Papercut-Service.bat? HOT 1
- Papercut is not creating messages in the path specified in settings json file?
- SMTP Binding Port configurable via Environment variable HOT 1
- High Systemload by Papercut HOT 8
- Can Papercut-SMTP be used forward email? HOT 2
- Upgrade to .NET 8 (LTS) HOT 3
- Windows server 2019 broken installer HOT 3
- Simulate Mail Client HTML Rendering HOT 1
- SMTP Open Relay HOT 3
- SMTP Service - Please clarify config settings HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from papercut-smtp.