Comments (2)
Applications often make errors after a recent upgrade to.NET 8, I found that if I used tojson() to map jsonb fields, I encountered this problem when I manually enabled multiple UnitOfWorks, and I didn't encounter this problem when I fell back on the tojson() method to HasColumnType("jsonb"). Also note that I made an http request in the UnitOfWork:
Npgsql.NpgsqlException: Exception while writing to stream
---> System.IO.IOException: Unable to write data to the transport connection: Operation canceled.
---> System.Net.Sockets.SocketException: Operation canceled
at Npgsql.Internal.NpgsqlWriteBuffer.d__32.MoveNext() at offset 282
--- End of inner exception stack trace ---
at Npgsql.Internal.NpgsqlWriteBuffer.d__32.MoveNext() at offset 682
at Npgsql.NpgsqlCommand.<g__WriteExecute|100_0>d.MoveNext() at offset 1709
at Npgsql.NpgsqlCommand.d__119.MoveNext() at offset 1155
at Npgsql.NpgsqlCommand.d__107.MoveNext() at offset 146
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.d__14.MoveNext() at offset 779
at Microsoft.EntityFrameworkCore.RelationalDatabaseFacadeExtensions.d__17.MoveNext() at offset 279
When this error occurs, the database fails to log the error log most of the time, Occasionally, however, the following errors are recorded:
ERROR: SAVEPOINT can only be used in transaction blocks
And this problem seems to exist only in certain scenarios, for example, I run it perfectly in debug mode on my macbook, but I run it 3-4 times out of 10 on ubuntu
pgsql: 14
system: ubuntu 22.04
.net: 8.0
efcore 8.0
efcore.pg:8.0.2
abp:8.0.5
from abp.
hi
This doesn't seem to be related to abp.
If you can reproduce this problem with some code or a simple project, Please share them,
Thanks.
from abp.
Related Issues (20)
- Request to add FTP Blob Storing Provider
- Add GlobalFeatureConfigurator and ModuleExtensionConfigurator to nolayers template
- Hangfire Dashboard - Unauthorized response. HOT 1
- Cache invalidation `considerUow` problem HOT 1
- HideAbpEndpoints also hides endpoints when I use v{version:apiVersion} in route HOT 1
- Service that was registered in application layer not injecting in Blazor class HOT 11
- ABP 8.1.0 & 8.1.1 - GetListAsync is slow HOT 1
- Blazor - At first opening, welcome message has border unless you click anywhere. HOT 6
- Content-Security-Policy header not set HOT 6
- Angular: Generate proxy doesn't work with nested generic type in dto
- Add several Menu using internal services and models.
- Illegal Characters in swagger.json - Unable to use in swagger generator. HOT 1
- WindowsCryptographicException: Keyset does not exist HOT 3
- Gateway CORS Policy HOT 3
- Update `ConfigStateService` documentation
- The instance of entity type 'IdentityUser' cannot be tracked because another instance with the key value HOT 4
- User interface for styling
- angular(core): Localization and sort compare function improvements
- How to prevent concurrency check while updating few fields 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 abp.