Comments (4)
Confirmed this is still an issue in [email protected]
but appears fixed in [email protected]
Here is the native stack trace from 5.0.6
:
https://sentry.io/share/issue/28bad86aacec4962ac119b078b874f43/
from electron-fetch.
@timfish looking at your stacktrace (or even just the description), it appears to be a bug in electron's net
module (not very surprising, I have found and reported a few of those myself.. including the one which made me switch to defaultSession
by default : electron/electron#13587 ).
I suggest opening a bug report on electron's project.
You could try to work around the bug by passing another session to electron-fetch.
Sorry but there does not seem to be anything I can do on electron-fetch's side :/
from electron-fetch.
it appears to be a bug in electron's net module
Indeed it does! If it existed in 6.0.0-beta.13
I would take the time to report it upstream to Electron but as it appears to be fixed there and in the latest 7-nightly
so probably not worth the effort.
@arantes555 leave this open in case anyone else encounters this?
from electron-fetch.
@timfish Yes, leaving this open for the moment, at least until 6 is released for good. Thanks for your testing !
(btw if you want to be even more thorough, or are just curious, you could try triggering the bug without electron-fetch, just doing a net
request after setting onBeforeSendHeaders
)
from electron-fetch.
Related Issues (20)
- Is there a way to send client-certificates with a request? HOT 2
- implement useSessionCookies flag HOT 1
- when using fetch in renderer process then it is giving me errors HOT 5
- support AbortSignal which `node-fetch` supported! HOT 2
- v1.7.0 made "signal" option required in TS declaration file - please make it optional HOT 1
- Redirect is not working in electron fetch HOT 6
- checkInvalidHeaderChar throws if header contains emoji HOT 5
- can not read header content-type if useElectronNet is true HOT 11
- Agent option silently ignored when useElectronNet is enabled HOT 1
- TypeScript & esbuild try to resolve 'electron' even not in electron HOT 4
- Named pipe support on Windows? HOT 6
- Type Defintions for `fetch` should take `RequestInfo` isntead of `string`
- `blob.type` is empty for certain image urls HOT 7
- Consider using undici? HOT 1
- Throws instead of rejecting the promise if a sent header value is invalid HOT 1
- FetchError typings: special case for 'system' HOT 3
- Basic auth-scheme issue HOT 1
- How to implement keepalive? HOT 1
- [solved] Get request headers before fetch? HOT 3
- Does not Work Correctly 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 electron-fetch.