Fixes
Error messages, decoded: the exact text you searched for, what it actually means, the fix, and where it bit us in a real build.
MAUI, Android and Windows apps · 12Blazor · 20Ollama and local AI · 71EF Core, SQL Server and PostgreSQL · 110Authentication, authorization and security · 74ASP.NET Core, C# and the .NET SDK · 103Docker, Git and WSL · 239
MAUI, Android and Windows apps 12 posts
- CA1422 in .NET MAUI: 'Window.SetStatusBarColor(Color)' is obsoleted on: 'Android' 35.0 and later
- NETSDK1147: To build this project, the following workloads must be installed: maui-android
- NU1102 on dotnet publish -r win-x64 for a MAUI app: NuGet can't find a Mono runtime pack
- MSB3030: Could not copy the file: a Windows App SDK build that dies past MAX_PATH
- D8: Type androidx.fragment.app.FragmentKt is defined multiple times (MAUI + Firebase)
- Blazor Hybrid on Android: content hidden under the status bar, env(safe-area-inset-top) is 0
- MAUI Android: 'No maps app' or ActivityNotFoundException with Google Maps installed
- Firebase says '1 delivered' but Android shows nothing: adb force-stop puts your app in stopped state
- CS0104: 'View' is an ambiguous reference between Android.Views.View and Microsoft.Maui.Controls.View
- AppNotificationManager.Show() displays no toast on Windows: the unpackaged-app identity problem
- MAUI SecureStorage.GetAsync throws on Android after a keystore reset
- apksigner verify prints a valid signature but your script reports failure: it is the shell, not apksigner
Blazor 20 posts
- Blazor: 'Authorization requires a cascading parameter of type Task<AuthenticationState>...'
- Blazor: 'A valid antiforgery token was not provided with the request'
- Blazor: 'InputText requires a value for the ValueExpression parameter'
- Blazor BL0005: 'Component parameter should not be set outside of its component'
- Blazor RZ9985: 'Multiple components use the tag'
- Blazor CS1503: 'cannot convert from void to EventCallback' on @onclick
- Blazor: 'EditForm requires a Model parameter, or an EditContext parameter, but not both'
- Blazor: 'Found markup element with unexpected name' (RZ10012)
- Blazor: 'Cannot provide a value for property' (no registered service)
- Blazor: 'Headers are read-only, response has already started'
- Blazor: 'The POST request does not specify which form is being submitted'
- Blazor: 'Cannot pass the parameter ChildContent to component with rendermode InteractiveServerRenderMode'
- Blazor: 'JavaScript interop calls cannot be issued at this time' during prerendering
- Blazor: 'The current thread is not associated with the Dispatcher. Use InvokeAsync()'
- Blazor: 'Object of type X does not have a property matching the name Y' (a misspelled parameter)
- Blazor: 'the required endpoints are not mapped on the server' for an InteractiveServer component
- Blazor serves empty CSS and JS files: MapStaticAssets without ASPNETCORE_ENVIRONMENT=Development
- Blazor: the h1 shows a focus ring after navigation (FocusOnNavigate and tabindex=-1)
- CS0542: member names cannot be the same as their enclosing type (a Blazor @inject named after its page)
- Blazor: 'An unhandled error has occurred' shows on every page after deleting the template CSS
Ollama and local AI 71 posts
- Ollama: 'Error: unknown flag: --temperature' from ollama run
- Ollama: 'Error: requires at least 1 arg(s), only received 0' from ollama run
- Ollama: 'create-time quantization is only supported for safetensors imports...'
- Ollama: 'timed out waiting for llama-server to start...' from OLLAMA_LOAD_TIMEOUT
- Ollama: 'Error: accepts 1 arg(s), received 2' from pull, show, create or stop
- Ollama Modelfile: 'Error: invalid float value [hot]' and 'invalid int value' from ollama create
- Ollama Modelfile: 'template error: template: :1: unclosed action' from ollama create
- Ollama API: 'Multimodal data provided, but model does not support multimodal requests.'
- Ollama API: 'option "num_ctx" must be of type integer' (HTTP 500)
- Ollama in Docker: 'Error: could not create directory mkdir /.ollama: permission denied'
- Ollama API: '{"error":"missing request body"}' (HTTP 400) from curl
- Ollama API: 'invalid think value: "no" (must be "high", "medium", "low", "max", true, or false)'
- Ollama: 'Error: unknown command "update" for "ollama"' (also restart, uninstall)
- Ollama: 'Error: couldn't find model "nosuchmodel" to stop' from ollama stop
- Ollama API: '405 method not allowed' when /api/generate or /api/chat is opened with GET
- Ollama OpenAI API: 'model 'gpt-4o' not found' (not_found_error, HTTP 404) from /v1/chat/completions
- Ollama API: '{"error":"invalid input type"}' from /api/embed
- Ollama log: 'WARN invalid environment variable, using default ... value=many default=1'
- Ollama OpenAI API: '404 page not found' from a wrong base URL
- Ollama API: 'illegal base64 data at input byte 4' when sending an image
- Ollama API: answer cut off mid-sentence with 'done_reason':'length'
- Ollama API: empty 'response' with 'done_reason':'load' or 'unload'
- Ollama: 'server busy, please try again. maximum pending requests exceeded' (503)
- Ollama /api/create: 'neither 'from' or 'files' was specified' with a modelfile field
- Ollama log: 'invalid option provided' option=num_ctxx (option ignored)
- Ollama /api/embed: 'This server does not support embeddings. Start it with --embeddings' (501)
- Ollama on Windows: 'ollama' is not recognized as an internal or external command (cmd and PowerShell fix)
- Ollama on Linux: 'bash: ollama: command not found' and 'zsh: command not found: ollama'
- Ollama CLI: 'invalid character '<' looking for beginning of value' from a wrong OLLAMA_HOST
- Ollama: 'Warning: could not connect to a running Ollama instance' and 'client version is'
- Ollama: 'invalid host: ParseAddr(...): unexpected character' from a bad OLLAMA_HOST
- Ollama CLI: 'something went wrong, please see the ollama server logs' from /api in OLLAMA_HOST
- Ollama from a Docker container: 'wget: can't connect to remote host: Connection refused' on localhost
- Ollama in Docker: 'curl: (52) Empty reply from server' with OLLAMA_HOST=127.0.0.1
- Ollama in Docker: 'ollama ps' shows '100% CPU' on an NVIDIA PC
- Docker Compose GPU for Ollama: reservations.devices.0 missing property 'capabilities'
- Ollama in Docker: 'Error: could not connect to ollama server' from docker run ollama/ollama run
- Ollama API: '"all-minilm" does not support generate' (embedding model)
- Ollama: 'pull model manifest: dial tcp: lookup registry.ollama.ai' (no network or DNS)
- Ollama create: 'Error: no Modelfile or safetensors files found'
- Ollama Modelfile: 'command must be one of "from", "license", "template"...'
- Ollama embed: 'the input length exceeds the context length'
- Ollama: 'Error: 400 Bad Request: "qwen2.5:0.5b" does not support thinking'
- Ollama curl on Windows: 'invalid character '\'' looking for beginning of value'
- Ollama from .NET: 'JsonException: '{' is invalid after a single JSON value'
- Ollama log: 'msg="truncating input prompt" limit=2050 prompt=5659' (num_ctx too small)
- Ollama API: 'time: missing unit in duration' from keep_alive
- Ollama API: 'invalid format: expected "json" or a valid JSON Schema object'
- Ollama CLI: 'Error: model 'qwen2.5:latest' not found' from show, rm and cp
- Ollama: 'read GGUF metadata ... offset+size exceeds file size' from a damaged model
- Ollama create: 'Error: unsupported file type [80 75 3 4]' from a file that is not GGUF
- Ollama API: 'model not found', 'model is required' and 'cannot unmarshal' from curl
- Ollama: '403 Forbidden' for a web page's Origin, fixed with OLLAMA_ORIGINS
- Microsoft.Extensions.AI: 'IChatClient' does not contain a definition for 'UseFunctionInvocation'
- Ollama on Windows: 'Error: timed out waiting for server to start'
- Ollama: 'llama-server process has terminated: signal: killed'
- Ollama: 'Error: invalid model name'
- Ollama create: '400 Bad Request: invalid model name' from a Modelfile FROM path
- Ollama in WSL: 'ollama: command not found' with the Windows app installed
- Ollama: 'Error: pull model manifest: file does not exist'
- .NET HttpClient: 'Response status code does not indicate success: 404 (Not Found)', and the server message it hides (Ollama example)
- Ollama from .NET: 'No connection could be made because the target machine actively refused it'
- Ollama: 'registry.ollama.ai/library/gemma3:... does not support tools' (HTTP 400, or a .NET exception)
- Ollama manual install on Linux: 'gzip: stdin: not in gzip format'
- Ollama manual install: 'tar: This does not look like a tar archive'
- Ollama on Linux and WSL: 'could not connect to ollama server'
- Ollama on Linux: 'bind: address already in use' on 127.0.0.1:11434
- ollama-linux-amd64.tar.zst: extract with tar --zstd ('tar: Archive is compressed. Use --zstd option')
- Ollama on Windows: 'bind: Only one usage of each socket address is normally permitted'
- Ollama install on Linux: 'This version requires zstd for extraction'
- Ollama under systemd: 'panic: $HOME is not defined'
EF Core, SQL Server and PostgreSQL 110 posts
- psql: 'connection to server on socket "/var/run/postgresql/.s.PGSQL.5432" failed: No such file or directory'
- PostgreSQL: 'No function matches the given name and argument types' (42883: function ... does not exist)
- PostgreSQL: 'date/time field value out of range', 'Perhaps you need a different DateStyle' (22008)
- PostgreSQL: 'must be owner of table' on ALTER TABLE (42501)
- PostgreSQL: 'cannot execute INSERT in a read-only transaction' (25006)
- PostgreSQL: 'database already exists' (42P04) and 'role already exists' (42710)
- PostgreSQL: 'integer out of range' (22003)
- System.Text.Json: 'The JSON value could not be converted to System.DateTime'
- System.Text.Json: 'This JsonSerializerOptions instance is read-only or has already been used'
- System.Text.Json: 'Deserialization of types without a parameterless constructor ... is not supported'
- System.Text.Json: 'The JSON object contains a trailing comma at the end which is not supported'
- System.Text.Json: 'The JSON value could not be converted to Priority' for an enum sent as a string
- System.Text.Json: 'Serialization and deserialization of ... MethodBase instances is not supported'
- System.Text.Json: 'Each parameter in the deserialization constructor must bind to an object property'
- EF Core: 'Cannot access a disposed context instance' (ObjectDisposedException)
- EF Core: 'The database operation was expected to affect 1 row(s), but actually affected 0 row(s)'
- EF Core: 'Sequence contains no elements' from First() or Single()
- EF Core: 'Format of the initialization string does not conform to specification starting at index 0'
- EF Core and SQL Server: 'There is already an open DataReader associated with this Connection'
- EF Core: 'No suitable constructor was found for the type' (Cannot bind parameter)
- EF Core: 'Nullable object must have a value' from Max() on an empty result
- EF Core: 'Unable to determine the relationship represented by navigation'
- SQL Server error 515: 'Cannot insert the value NULL into column ... column does not allow nulls'
- SQL Server error 4104: 'The multi-part identifier could not be bound'
- SQL Server error 8120: 'Column is invalid in the select list ... GROUP BY clause'
- SQL Server error 512: 'Subquery returned more than 1 value'
- SQL Server error 1785: 'FOREIGN KEY constraint may cause cycles or multiple cascade paths'
- SQL Server error 2601: 'Cannot insert duplicate key row in object with unique index'
- SQL Server error 8134: 'Divide by zero error encountered'
- SQL Server error 156: 'Incorrect syntax near the keyword'
- SQL Server error 213: 'Column name or number of supplied values does not match table definition'
- SQL Server error 8115: 'Arithmetic overflow error converting expression to data type int'
- SQL Server error 8114: 'Error converting data type varchar to numeric'
- SQL Server error 3726: 'Could not drop object because it is referenced by a FOREIGN KEY constraint'
- SQL Server error 5074: 'The object is dependent on column' and 4922 'ALTER TABLE DROP COLUMN failed'
- SQL Server error 1919: 'Column is of a type that is invalid for use as a key column in an index'
- SQL Server error 1776: 'There are no primary or candidate keys in the referenced table'
- EF Core: 'CS1061: DbContextOptionsBuilder does not contain a definition for UseSqlServer'
- PostgreSQL: 'column must appear in the GROUP BY clause or be used in an aggregate function' (42803)
- PostgreSQL: 'null value in column violates not-null constraint' (23502)
- PostgreSQL: 'insert or update on table violates foreign key constraint' (23503)
- PostgreSQL: 'operator does not exist: integer = text' (42883)
- PostgreSQL: 'FATAL: no pg_hba.conf entry for host, user, database, no encryption'
- PostgreSQL: 'ERROR: deadlock detected' (40P01)
- PostgreSQL: 'value too long for type character varying(n)' (22001)
- PostgreSQL: 'there is no unique or exclusion constraint matching the ON CONFLICT specification' (42P10)
- PostgreSQL: 'cannot insert a non-DEFAULT value into column "id"' (428C9)
- PostgreSQL: 'cannot drop table because other objects depend on it' (2BP01)
- PostgreSQL: 'syntax error at or near "user"' with a reserved word (42601)
- PostgreSQL: 'canceling statement due to statement timeout' (57014)
- PostgreSQL: 'CREATE DATABASE cannot run inside a transaction block' (25001)
- PostgreSQL: 'column cannot be cast automatically to type integer' (42804)
- PostgreSQL: 'new row for relation violates check constraint' (23514)
- SqlClient: 'The ConnectionString property has not been initialized'
- SqlClient: 'Keyword not supported: servername' and Npgsql: 'Couldn't set servername'
- PostgreSQL: 'current transaction is aborted, commands ignored until end of transaction block' (25P02)
- PostgreSQL: 'invalid input syntax for type integer' (22P02) in psql and Npgsql
- PostgreSQL: 'relation "customers" already exists' (42P07) in scripts and EF Core
- PostgreSQL: 'sorry, too many clients already' (53300) and reserved connection slots
- pg_restore: 'input file appears to be a text format dump. Please use psql.'
- Npgsql: 'Failed to connect to 127.0.0.1' with SocketException 10061 'actively refused it'
- SQL Server: 'Login failed for user 'sa'' (error 18456) in Docker and LocalDB
- SQL Server: 'Violation of PRIMARY KEY constraint. Cannot insert duplicate key' (error 2627)
- SQL Server: 'The INSERT statement conflicted with the FOREIGN KEY constraint' (error 547)
- SQL Server: 'Conversion failed when converting date and/or time from character string' (error 241)
- SQL Server: 'Cannot drop database because it is currently in use' (error 3702)
- SQL Server: 'Transaction was deadlocked on lock resources ... chosen as the deadlock victim' (error 1205)
- EF Core: 'Invalid column name' (SqlException 207) after adding a property
- System.Text.Json: 'The JSON value could not be converted to System.Int32'
- System.Text.Json: 'Deserialization of interface or abstract types is not supported'
- PostgreSQL: 'psql: FATAL: Peer authentication failed for user "postgres"'
- PostgreSQL: 'ERROR: database "shopdb" is being accessed by other users' (55006)
- PostgreSQL: 'ERROR: column "firstname" does not exist' (42703) on a mixed-case column
- Windows: 'psql' is not recognized as an internal or external command (cmd), or as the name of a cmdlet (PowerShell)
- psql: 'connection to server at "localhost" failed: Connection refused (0x0000274D/10061)'
- SQL Server: 'The certificate chain was issued by an authority that is not trusted'
- SQL Server: 'String or binary data would be truncated in table' (error 2628)
- SQL Server: 'Conversion failed when converting the varchar value to data type int' (error 245)
- SQL Server: 'Execution Timeout Expired. The timeout period elapsed prior to completion of the operation'
- Npgsql: 'Detail redacted as it may contain sensitive data' and Include Error Detail
- PostgreSQL in WSL: 'initdb: error: could not change permissions of directory' on /mnt/c
- Docker postgres: 'initdb: error: directory "/var/lib/postgresql/data" exists but is not empty'
- EF Core: 'No database provider has been configured for this DbContext'
- EF Core: 'There is already an object named ... in the database' (SqlException 2714)
- EF Core: 'Unable to resolve service for type AppDbContext while attempting to activate'
- PostgreSQL: 'FATAL: role "app" does not exist'
- PostgreSQL: 'FATAL: database "appdb" does not exist'
- PostgreSQL 15+: 'ERROR: permission denied for schema public'
- PostgreSQL: 'ERROR: relation "customers" does not exist' (42P01)
- PostgreSQL: 'pg_dump: error: aborting because of server version mismatch'
- SQL Server: 'A network-related or instance-specific error occurred' (error 26)
- SQL Server: 'Cannot open database requested by the login. The login failed.' (error 4060)
- SQL Server LocalDB: 'No process is on the other end of the pipe' with User ID=sa (error 233)
- SQL Server: 'Invalid object name' (error 208)
- SQL Server: 'Cannot insert explicit value for identity column when IDENTITY_INSERT is set to OFF' (error 544)
- postgres:18 in Docker: 'database files are incompatible with server' after upgrading from 16
- Docker postgres: '28P01: password authentication failed for user postgres' after changing POSTGRES_PASSWORD
- EF Core: 'The entity type ... requires a primary key to be defined'
- Npgsql: 'Cannot write DateTime with Kind=Local to PostgreSQL type timestamp with time zone'
- EF Core: 'Unable to create a DbContext of type' from dotnet ef migrations add
- EF Core: 'cannot be tracked because another instance with the same key value is already being tracked'
- EF Core: 'The LINQ expression could not be translated' when Where calls a C# method
- PostgreSQL: '23505: duplicate key value violates unique constraint' after seeding rows
- System.Text.Json: 'A possible object cycle was detected' when returning EF Core entities
- EF Core: 'A second operation was started on this context instance before a previous operation completed'
- Docker postgres: 'Database is uninitialized and superuser password is not specified'
- pgvector: 'function min(vector) does not exist'
- postgres:18 Docker container exits immediately: mount the volume at /var/lib/postgresql
- EF Core: two HasIndex calls on the same column create only one index (name them)
- EF Core: 'The model for context has pending changes' in tests while the app migrates fine
Authentication, authorization and security 74 posts
- ASP.NET Core: 'The antiforgery token could not be decrypted' (key was not found in the key ring)
- ASP.NET Core: 'The antiforgery cookie token and request token do not match'
- ASP.NET Core: 'The required antiforgery cookie ".AspNetCore.Antiforgery..." is not present'
- ASP.NET Core: 'The provided antiforgery token was meant for a different claims-based user ...'
- ASP.NET Core: '... contains anti-forgery metadata, but a middleware was not found that supports anti-forgery'
- ASP.NET Core: 'Cookies was not authenticated. Failure message: Unprotect ticket failed'
- ASP.NET Core in Docker: 'Using an in-memory repository. Keys will not be persisted to storage'
- ASP.NET Core: The cookie '.AspNetCore.Cookies' has set 'SameSite=None' and must also set 'Secure'
- ASP.NET Core: '... SecurePolicy = Always, but the current request is not an SSL request'
- ASP.NET Core: 'No XML encryptor configured. Key ... may be persisted to storage in unencrypted form'
- ASP.NET Core: 'The required antiforgery request token was not provided in either form field ...'
- ASP.NET Core: 'SignInAsync when principal.Identity.IsAuthenticated is false is not allowed ...'
- ASP.NET Core: 'Error unprotecting the session cookie'
- ASP.NET Core: '...CryptographicException: The payload was invalid. ...' from data protection
- ASP.NET Core in Docker: 'An exception occurred while processing the key element ...' (DPAPI key on Linux)
- ASP.NET Core: cookie authentication redirects to /Account/Login?ReturnUrl=... and answers 404
- ASP.NET Core 10.0.15: cookie authentication answers a JSON API call with 302 to the login page, not 401
- ASP.NET Core: 'The AuthorizationPolicy named: 'AdminOnly' was not found'
- ASP.NET Core: 'No authentication handler is registered for the scheme 'Cookies'...'
- ASP.NET Core: '403 Forbidden' with the admin role in the JWT (RoleClaimType 'roles')
- ASP.NET Core: 'The CORS protocol does not allow specifying a wildcard (any) origin and credentials...'
- ASP.NET Core: 'Endpoint ... contains CORS metadata, but a middleware was not found that supports CORS'
- ASP.NET Core: 'Unable to find the required services ... calling 'IServiceCollection.AddRateLimiter'...'
- ASP.NET Core: rate limiter answers '503 Service Unavailable' instead of 429
- ASP.NET Core: 'Bad Request - Invalid Hostname' (HTTP Error 400) from AllowedHosts
- ASP.NET Core: 'Authorization failed ... DenyAnonymousAuthorizationRequirement: Requires an authenticated user'
- ASP.NET Core: '...RolesAuthorizationRequirement:User.IsInRole must be true for one of the following roles...'
- ASP.NET Core: 'AuthorizationPolicy must have at least one requirement'
- ASP.NET Core: 'This endpoint requires a rate limiting policy with name perUser, but no such policy exists'
- ASP.NET Core: 'CORS policy execution failed' and 'Request origin ... does not have permission...'
- ASP.NET Core: CORS preflight OPTIONS request answered '401 Unauthorized'
- .NET user-secrets: 'Could not find the global property 'UserSecretsId' in MSBuild project ...'
- .NET user-secrets: 'Value cannot be null. (Parameter 's')' in Production
- ASP.NET Core: 'The input is not a valid Base-64 string ...' from a signing key
- .NET user-secrets: 'No secrets configured for this application.'
- .NET user-secrets: 'Could not find 'UserSecretsIdAttribute' on assembly ...'
- .NET user-secrets: 'Multiple MSBuild project files found in '...'. Specify which to use ...'
- ASP.NET Core Identity: 'Unable to resolve service for type '...UserManager`1[...IdentityUser]' while ...'
- ASP.NET Core Identity: 'Cannot create a DbSet for 'IdentityUser' ... not included in the model ...'
- ASP.NET Core Identity: 'Passwords must have at least one non alphanumeric character.'
- ASP.NET Core Identity: 'Username 'admin' is already taken.' (DuplicateUserName)
- ASP.NET Core Identity: 'Role ADMIN does not exist.' from AddToRoleAsync
- ASP.NET Core Identity: 'No service for type '...IEmailSender`1[...IdentityUser]' has been registered.'
- ASP.NET Core Identity: 'Store does not implement IUserRoleStore<TUser>.'
- ASP.NET Core Identity: 'No IUserTwoFactorTokenProvider<TUser> named 'Default' is registered.'
- ASP.NET Core Identity: 'Invalid token.' from ResetPasswordAsync (InvalidToken)
- ASP.NET Core Identity: 'Scheme already exists: Identity.Application'
- ASP.NET Core Identity: 'The entity type 'IdentityPasskeyData' requires a primary key to be defined. ...'
- ASP.NET Core Identity: 'No service for type '...RoleManager`1[...IdentityRole]' has been registered.'
- ASP.NET Core Identity: 'SQLite Error 1: 'no such table: AspNetUsers'.'
- ASP.NET Core Identity: 'No sign-in authentication handlers are registered. Did you forget to call ...'
- ASP.NET Core Identity: 'User security stamp cannot be null.'
- ASP.NET Core JWT: 'The signature key was not found' (IDX10517: ... The token's kid is missing ...)
- ASP.NET Core JWT: 'The audience '(null)' is invalid' (IDX10214: Audience validation failed)
- ASP.NET Core JWT: 'The issuer '...' is invalid' (IDX10205: Issuer validation failed)
- ASP.NET Core JWT: 'The token expired at ...' (IDX10223), with ClockSkew tested
- ASP.NET Core JWT: 'IDX10653: The encryption algorithm 'HS256' requires a key size of at least '128' bits ...'
- ASP.NET Core JWT: 'IDX14100: JWT is not well formed, there are no dots (.)'
- ASP.NET Core JWT: 'The MetadataAddress or Authority must use HTTPS unless disabled for development...'
- ASP.NET Core JWT: '[PII of type 'System.String' is hidden ...]' and the setting that shows it
- ASP.NET Core JWT: 'The token is not valid before ...' (IDX10222)
- ASP.NET Core JWT: 'IDX10500: ... No security keys were provided to validate the signature'
- ASP.NET Core JWT: 401 with only 'WWW-Authenticate: Bearer' and no error, from a missing Bearer token
- ASP.NET Core JWT: 'IDX10503: ... The token's kid is: '...', but did not match any keys ...'
- ASP.NET Core JWT: 'The signature is invalid' (IDX10511: Signature validation failed. Keys tried: ...)
- ASP.NET Core JWT: 'IDX10204: Unable to validate issuer. ... ValidIssuer is null or whitespace ...'
- ASP.NET Core JWT: 'IDX10208: Unable to validate audience. ... ValidAudience is null or whitespace ...'
- ASP.NET Core JWT: 'IDX10206: Unable to validate audience. The 'audiences' parameter is empty.'
- ASP.NET Core JWT: 'The token has no expiration' (IDX10225: ... The token is missing an Expiration Time ...)
- .NET JWT: 'IDX10634: Unable to create the SignatureProvider. Algorithm: 'HS256' ...'
- ASP.NET Core: 'a middleware was not found that supports authorization'
- ASP.NET Core: 'No authenticationScheme was specified, and there was no DefaultChallengeScheme found'
- ASP.NET Core API: 'blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present'
- ASP.NET Identity 'Invalid login attempt' with the right password: RequireConfirmedAccount and seeded users
ASP.NET Core, C# and the .NET SDK 103 posts
- ASP.NET Core: '431 Request Header Fields Too Large' from Kestrel
- ASP.NET Core: 'OptionsValidationException: DataAnnotation validation failed for 'JwtOptions' members ...'
- .NET configuration: 'The configuration file 'appsettings.json' was not found and is not optional. ...'
- ASP.NET Core: 'Failed to load configuration from file '...appsettings.json'.' from a missing comma
- NuGet: 'NU1900: Error occurred while getting package vulnerability data ...'
- ASP.NET Core: 'Failed to convert configuration value '...' at 'Jwt:ExpiryMinutes' to type 'System.Int32'.'
- ASP.NET Core: 'Section 'Jwt' not found in configuration.'
- NuGet: 'NU1004: ... The packages lock file is inconsistent with the project dependencies ...'
- NuGet: 'NU1100: Unable to resolve ... PackageSourceMapping is enabled ...'
- NuGet: 'NU1905: Audit source '...' did not provide any vulnerability data.'
- ASP.NET Core in Docker: 'curl: (52) Empty reply from server' with ASPNETCORE_URLS=http://localhost
- ASP.NET Core in Docker: HEALTHCHECK unhealthy with '/bin/sh: 1: curl: not found'
- .NET in Docker: 'Process terminated. Couldn't find a valid ICU package installed on the system'
- .NET in Docker: 'Only the invariant culture is supported in globalization-invariant mode'
- .NET in Docker ENTRYPOINT: 'The application 'Clinic.Api.dll' does not exist or is not a managed .dll...'
- .NET in Docker: 'exec: "dotnet": executable file not found in $PATH' on runtime-deps
- .NET in Docker: 'UnauthorizedAccessException: Access to the path '/app/data' is denied'
- .NET in Docker: 'System.IO.IOException: Read-only file system'
- .NET in Docker: 'NETSDK1064: Package ... was not found. It might have been deleted since NuGet restore'
- .NET in Docker: 'The time zone ID 'Asia/Kolkata' was not found on the local computer'
- .NET in Docker: 'FileNotFoundException: Could not find file '/app/data\patients.json''
- .NET in Docker: System.Drawing.Common 'Unable to load shared library 'gdiplus.dll' ...' on Linux
- .NET in Docker: 'DllNotFoundException: Unable to load shared library 'libSkiaSharp' ...'
- .NET in Docker: SqlClient 'NotSupportedException: Globalization Invariant Mode is not supported'
- .NET in Docker: 'CS5001 Program does not contain a static Main method' with no WORKDIR
- .NET in Docker: 'exec ./ClinicApi: no such file or directory' on Alpine
- HttpClient: 'An invalid request URI was provided' (BaseAddress must be set)
- HttpClient: 'Misused header name' for Content-Type on DefaultRequestHeaders
- HttpClient: 'This instance has already started one or more requests'
- HttpClient: 'Response status code does not indicate success: 404 (Not Found)'
- HttpClient: 'No such host is known' (SocketException 11001)
- HttpClient: 'Cannot access a disposed object' (ObjectDisposedException)
- C# Uri: 'Invalid URI: The format of the URI could not be determined'
- ASP.NET Core: 'AmbiguousMatchException: The request matched multiple endpoints'
- ASP.NET Core: '415 Unsupported Media Type' from a POST with a JSON body
- ASP.NET Core: 'Failed to determine the https port for redirect'
- ASP.NET Core: 'Request body too large. The max request body size is 30000000 bytes'
- ASP.NET Core: 'Session has not been configured for this application or request'
- ASP.NET Core: '405 Method Not Allowed' and the Allow header
- C#: 'CS0029 Cannot implicitly convert type Task<int> to int' (missing await)
- C#: 'CS4033 The await operator can only be used within an async method'
- C#: 'CS8602 Dereference of a possibly null reference'
- C# CS0120: 'An object reference is required for the non-static field, method, or property', two fixes
- C#: 'CS8803 Top-level statements must precede namespace and type declarations'
- C# CS0103: 'The name does not exist in the current context' (scope, a missing using or a typo)
- C#: 'CS5001 Program does not contain a static Main method suitable for an entry point'
- C#: 'CS0161 not all code paths return a value'
- C#: 'CS1503 Argument 1: cannot convert from string to int'
- C#: 'CS0266 Cannot implicitly convert type double to int. An explicit conversion exists'
- C#: 'CS0165 Use of unassigned local variable'
- C#: 'CS0122 is inaccessible due to its protection level'
- C#: 'CS7036 There is no argument given that corresponds to the required parameter'
- C#: 'CS4014 Because this call is not awaited, execution of the current method continues'
- C#: 'CS8604 Possible null reference argument for parameter'
- Docker .NET: 'The command could not be loaded ... No .NET SDKs were found'
- Docker .NET: 'The library 'libhostpolicy.so' required to execute the application was not found'
- NuGet: 'error NU1101: Unable to find package. No packages exist with this id in source(s)'
- NuGet NU1903: 'Package has a known high severity vulnerability', the fix and the transitive case
- .NET SDK: 'warning NETSDK1138: The target framework net6.0 is out of support'
- .NET SDK: 'error NETSDK1005: Assets file project.assets.json doesn't have a target for net10.0'
- NuGet: 'error NU1107: Version conflict detected. Install/reference directly to resolve this issue'
- .NET SDK: 'error NETSDK1047: Assets file doesn't have a target for net10.0/win-x64'
- .NET SDK: 'error NETSDK1152: Found multiple publish output files with the same relative path'
- .NET SDK: 'error NETSDK1022: Duplicate Compile items were included'
- .NET SDK: 'error MSB3644: The reference assemblies for .NETFramework,Version=v1.0 were not found'
- NuGet: 'error NU1008: PackageReference items cannot define a value for Version' (Central Package Management)
- dotnet ef: 'Could not execute because the specified command or file was not found'
- MSBuild: 'error MSB4025: The project file could not be loaded. Name cannot begin with the < character'
- MSBuild: 'MSBUILD : error MSB1009: Project file does not exist' on dotnet build
- HttpClient GetFromJsonAsync: '<' is an invalid start of a value (the server sent HTML, not JSON)
- HttpClient: 'No connection could be made because the target machine actively refused it' (10061)
- HttpClient: 'The request was canceled due to the configured HttpClient.Timeout of 2 seconds elapsing'
- NuGet: 'error NU1202: Package Microsoft.EntityFrameworkCore 10.0.14 is not compatible with net8.0'
- NuGet: 'error NU1605: Warning As Error: Detected package downgrade'
- ASP.NET Core: 'Synchronous operations are disallowed. Call ReadAsync ...' (AllowSynchronousIO)
- ASP.NET Core in Docker: 'Storing keys in a directory ... that may not be persisted outside of the container'
- HttpClient: 'The SSL connection could not be established' (UntrustedRoot) in WSL
- C# CS0246: 'The type or namespace name could not be found' (a using or a package)
- NETSDK1100: 'To build a project targeting Windows on this operating system' in Docker and WSL
- .NET in Docker: 'You must install or update .NET' for 'Microsoft.AspNetCore.App'
- .NET: 'FileNotFoundException: Could not load file or assembly' from a missing DLL
- dotnet build: 'System.IO.IOException: The process cannot access the file' from two builds at once
- NuGet: 'error NU1102: Unable to find package with version' on dotnet build
- ASP.NET Core BackgroundService: 'Cannot consume scoped service from singleton IHostedService'
- NuGet: 'error NU1301: Unable to load the service index for source'
- .NET SDK: 'MSB1003: Specify a project or solution file'
- .NET SDK: 'MSB1011: Specify which project or solution file to use'
- dotnet ef: 'No project was found. Change the current working directory or use the --project option'
- .NET: 'You must install or update .NET to run this application': the missing runtime, and DOTNET_ROLL_FORWARD
- ASP.NET Core: 'Unable to configure HTTPS endpoint. No server certificate was specified'
- ASP.NET Core: 'Hosting environment: Production' and port 5000 after dotnet run --no-launch-profile
- dotnet: 'A compatible .NET SDK was not found' when global.json pins a missing SDK
- NETSDK1004: 'Assets file project.assets.json not found' from dotnet build --no-restore
- NETSDK1045: 'The current .NET SDK does not support targeting .NET 10.0' with a global.json pin
- ASP.NET Core: 'Failed to bind to address ...: address already in use' (Kestrel)
- ASP.NET Core: 'Unable to resolve service for type ... while attempting to activate ...'
- ASP.NET Core: 'Cannot consume scoped service ... from singleton ...'
- C# CS8618: 'Non-nullable property must contain a non-null value when exiting constructor'
- SignalR WithAutomaticReconnect() stops reconnecting after four attempts
- dotnet build fails because the DLL is locked: your app (or test host) is still running
- ASP.NET Core: 'Unable to resolve service for type IOutputCacheStore', and why .CacheOutput() alone caches nothing
- CS0104: 'BarcodeReader<T>' is ambiguous between ZXing.Net and ZXing.Net.Bindings.ImageSharp
- dotnet run -nologo: the switch lands in your application's args
Docker, Git and WSL 239 posts
- Docker build: 'ERROR: docker: 'docker buildx build' requires 1 argument' (the missing dot)
- Docker build: '... target stage "finall" could not be found (did you mean final?)'
- Docker build: '... failed to resolve source metadata for docker.io/library/alpine:3.99: ... not found'
- Docker build: '... dockerfile parse error on line 1: FROM requires either one or three arguments'
- Docker build: '... failed to solve: the Dockerfile cannot be empty'
- Docker build: '... failed to solve: file with no instructions'
- Docker build: 'DEPRECATED: The legacy builder is deprecated and will be removed in a future release.'
- Docker build: 'ERROR: BuildKit is enabled but the buildx component is missing or broken.'
- Docker: 'OCI runtime exec failed: ... exec: "bash": executable file not found in $PATH'
- Docker: '... Error response from daemon: Minimum memory limit allowed is 6MB'
- Docker: '... range of CPUs is from 0.01 to 24.00, as there are only 24 CPUs available'
- Docker: '... conflicting options: cannot specify both --restart and --rm'
- Docker: 'Error response from daemon: cannot kill container: ...: container ... is not running'
- Docker: 'Error response from daemon: Container ... is paused, unpause the container before exec'
- Docker: 'error: no such object: ...' from docker inspect
- Docker: 'unexpected EOF' from docker load -i on a file that is not an image archive
- Docker: 'failed to ingest "blobs/sha256/...": short read: expected ... bytes but got ...: unexpected EOF'
- Docker: '... --env-file: invalid env file (...): variable 'APP MODE' contains whitespaces'
- Docker Compose: 'required variable DB_PASSWORD is missing a value'
- Docker Compose: 'invalid project name ... must consist only of lowercase alphanumeric characters ...'
- Docker Compose: 'service ... refers to undefined secret ...: invalid compose project'
- Docker Compose: 'service "migrate" didn't complete successfully: exit 1'
- Docker Compose: 'services.web.healthcheck additional properties ... not allowed'
- Docker Compose: 'services.web.healthcheck.interval must be a string'
- Docker Compose: 'time: unknown unit "x" in duration "10x"'
- Docker Compose: 'cannot extend service "web" in ...: service "bse" not found'
- Docker Compose include: 'open ...compose.yaml: The system cannot find the path specified.'
- Docker Compose: 'dependency failed to start: container ... has no healthcheck configured'
- Docker Compose: 'a network with name ... exists but was not created by compose ...'
- Docker Compose: 'volume ... already exists but was not created by Docker Compose ...'
- Docker Compose: 'The "web" service is using the custom container name ...' with --scale
- Docker Compose: 'failed to read ...\.env: line 2: key cannot contain a space'
- Docker Compose: 'service "web" is not running' from docker compose exec
- Docker Compose: 'service ports services.web.ports.[0] is missing a target port'
- Docker Compose: 'go-yaml load error in scanner ... mapping values are not allowed in this context'
- Docker Compose: 'go-yaml load error in scanner ... could not find expected ':''
- Docker Compose: 'go-yaml load error in parser ... did not find expected '-' indicator'
- Docker Compose: 'go-yaml load error in scanner ... block sequence entries are not allowed in this context'
- Docker Compose: 'yaml: construct errors: ... mapping key "web" already defined at line 3'
- Docker Compose: 'go-yaml load error in scanner ... found unknown escape character' (Windows path)
- Docker Compose: 'validating ...: services.web.depends_on must be a array'
- Docker Compose: 'go-yaml load error in scanner ... did not find expected alphabetic or numeric character'
- Docker Compose: 'go-yaml load error in composer ... unknown anchor 'commn' referenced'
- Docker Compose: 'validating ...: volumes must be a mapping'
- Docker Compose: 'services must be a mapping' and 'services.web must be a mapping'
- Docker Compose: 'validating ...: services.web.image must be a string'
- Docker Compose: 'validating ...: ...environment.ALLOWED_ORIGINS must be a boolean, null, number or string'
- Docker Compose: 'invalid hostPort: 70000' in a ports mapping
- Docker Compose: 'invalid IP address: 999.0.0.1' in a ports mapping
- Docker Compose: 'Error response from daemon: invalid restart policy: unknown policy 'sometimes'...'
- Docker Compose: ''services[web].mem_limit' invalid size: 'lots''
- Docker Compose: 'invalid spec: :/data: empty section between colons' and 'too many colons'
- Docker: 'client version 1.24 is too old. Minimum supported API version is 1.40'
- Docker: 'Error response from daemon: No such container: web' with a Compose service name
- Docker: 'docker run' requires at least 1 argument
- Docker: 'unknown shorthand flag: 'd' in -d' from docker compose up -d
- Docker: 'docker pull' fails with 'dial tcp: lookup registry.invalid: no such host'
- Docker: 'docker: unknown command: docker compose'
- Docker: 'invalid containerPort: 80800' from a bad -p value
- Ubuntu (WSL) apt-get: 'The following signatures couldn't be verified ... NO_PUBKEY 7EA0A9C3F273FCD8'
- Ubuntu (WSL) apt-get: 'E: The repository ... Release' does not have a Release file'
- Ubuntu (WSL): 'add-apt-repository: command not found'
- Ubuntu (WSL) apt-get: 'E: Sub-process /usr/bin/dpkg returned an error code (1)'
- Ubuntu (WSL) apt-get: 'E: Unmet dependencies. Try 'apt --fix-broken install' with no packages ...'
- Ubuntu (WSL) apt-get: 'Could not open lock file /var/lib/dpkg/lock-frontend - open (13: Permission denied)'
- Ubuntu (WSL) apt-get: 'E: Version '1.2.3' for 'curl' was not found'
- Ubuntu (WSL) apt-get: 'Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see ...'
- Ubuntu (WSL) apt-get: 'E: Unable to correct problems, you have held broken packages.'
- Ubuntu (WSL) dpkg: 'trying to overwrite '/usr/bin/fix10-tool', which is also in package fix10-one 1.0'
- Ubuntu (WSL) apt-get: 'W: Target Packages (main/binary-amd64/Packages) is configured multiple times in ...'
- Ubuntu (WSL) apt-get: 'E: Malformed entry 1 in list file /etc/apt/sources.list.d/extra.list (Component)'
- Ubuntu (WSL) apt-get: 'E: Type 'sudo' is not known on line 1 in source list ...'
- Ubuntu (WSL) apt-get: 'E: Conflicting values set for option Signed-By regarding source ...'
- Ubuntu (WSL) apt-get: 'E: You don't have enough free space in /var/cache/apt/archives/.'
- Ubuntu (WSL) apt-get: 'debconf: delaying package configuration, since apt-utils is not installed'
- Ubuntu (WSL) apt-get: 'E: Release file for ... is not valid yet (invalid for another 115d 15h 10min 22s) ...'
- Docker container: 'bash: sudo: command not found'
- Docker container: 'bash: ping: command not found'
- Docker container: 'bash: ifconfig: command not found'
- Docker container: 'bash: ip: command not found'
- Bash: '$'\r': command not found' from a script with CRLF line endings
- Bash: '/usr/bin/env: 'python': No such file or directory'
- Ubuntu (WSL): 'locale: Cannot set LC_ALL to default locale: No such file or directory'
- Docker container: 'bash: vim: command not found' (and nano, vi)
- Bash: '[: =: unary operator expected' from an empty, unquoted variable
- Bash: '[: too many arguments' from a variable holding two words
- sh: '/bin/sh: 1: source: not found' in a Dockerfile RUN line or sh script.sh
- Docker container: 'bash: systemctl: command not found'
- Docker container: 'sh: apt-get: not found' in an Alpine image
- Docker container: 'bash: netstat: command not found' (and ss)
- sh: 'check.sh: 2: [[: not found' when a bash script runs under sh
- sh: 'sh: 1: Bad substitution' from a bash expansion such as ${name,,}
- Docker container: 'bash: nslookup: command not found'
- Docker container: 'TERM environment variable not set.' from clear or top
- Docker container: 'bash: dig: command not found'
- curl: '(6) Could not resolve host' from a typo or a container with no network
- curl: '(7) Failed to connect to localhost port 8080: Couldn't connect to server' in Docker
- SSH: 'WARNING: UNPROTECTED PRIVATE KEY FILE!' and 'Permissions 0644 are too open'
- SSH: 'WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!' after a server rebuild
- SSH: 'connect to host port 22: Connection refused' when sshd is not running
- SSH: 'Could not resolve hostname: No address associated with hostname'
- curl: '(60) SSL certificate problem: self-signed certificate'
- SSH: 'Permission denied (publickey,password)' when your key is not in authorized_keys
- curl: '(35) OpenSSL/3.0.13: error:0A00010B:SSL routines::wrong version number'
- curl: '(28) Operation timed out after 2003 milliseconds with 0 bytes received'
- curl: '(22) The requested URL returned error: 404' with -f
- curl: '(3) URL rejected: Malformed input to a URL function'
- SSH: ssh-add 'Could not open a connection to your authentication agent.'
- SSH: 'Bad owner or permissions on /root/.ssh/config'
- SSH: 'Unable to negotiate with ... no matching host key type found. Their offer: ssh-rsa'
- SSH: 'kex_exchange_identification: Connection closed by remote host' on a web port
- SSH: 'Received disconnect from ... port 22:2: Too many authentication failures'
- Docker Compose: 'the attribute `version` is obsolete, it will be ignored, please remove it'
- Docker Compose --remove-orphans: 'Found orphan containers ([...]) for this project', explained
- Docker Compose: 'service "web" refers to undefined network backend: invalid compose project'
- Docker Compose: 'go-yaml load error in scanner ... found character that cannot start any token'
- Docker Compose: 'no service selected' when every service has a profile
- Docker Compose: 'dependency cycle detected: a -> b -> a'
- Docker Compose: 'invalid interpolation format ... You may need to escape any $ with another $'
- Docker Compose build: 'unable to prepare context: path "...\\api" not found'
- Docker Compose: 'empty compose file'
- Docker build: 'failed to solve: process "/bin/sh -c ..." did not complete successfully: exit code: 1'
- Docker build: 'failed to solve: no build stage in current context'
- Docker build: 'COPY --from' a misspelled stage gives 'pull access denied, repository does not exist'
- Docker: 'error getting credentials ... "docker-credential-desktop": executable file not found in %PATH%'
- Docker: 'no matching manifest for linux/mips64le in the manifest list entries'
- Docker build: 'failed to solve: base name ($BASE) should not be blank'
- Docker build warning: 'WorkdirRelativePath: Relative workdir "app" can have unexpected results'
- Docker build warning: 'MaintainerDeprecated: Maintainer instruction is deprecated in favor of using label'
- Docker on Windows: 'ports are not available ... Only one usage of each socket address is normally permitted'
- Docker: 'includes invalid characters for a local volume name ... use absolute path' from docker run -v
- Docker: 'not a directory: Are you trying to mount a directory onto a file (or vice-versa)?'
- Docker: container 'Exited (137)', out of memory (OOMKilled) or docker kill and stop
- Docker exec: 'Container ... is restarting, wait until the container is running'
- Docker logs: 'configured logging driver does not support reading' with --log-driver none
- Docker network create: 'invalid pool request: Pool overlaps with other one on this address space'
- Docker: 'The requested image's platform (linux/arm64/v8) does not match the detected host platform'
- Docker Compose: 'network ... declared as external, but could not be found'
- Docker Compose: 'service ... refers to undefined volume ...: invalid compose project'
- Docker Compose: 'validating compose.yaml: services.web.ports must be a array'
- Docker: 'Error response from daemon: No such image' from docker tag, save, history and rmi
- Docker: 'OCI runtime create failed ... exec: "/entrypoint.sh": permission denied'
- Docker: 'invalid container name ...: only [a-zA-Z0-9][a-zA-Z0-9_.-] are allowed'
- Git SSH clone: 'Host key verification failed. fatal: Could not read from remote repository.'
- Git SSH clone: 'git@github.com: Permission denied (publickey).'
- Git push: 'fatal: The upstream branch of your current branch does not match the name of your current branch'
- Git on Windows: 'error: unable to unlink old ... Invalid argument'
- Git: 'You are in detached HEAD state' after checking out a tag or commit
- Git cherry-pick: 'error: commit ... is a merge but no -m option was given'
- Git: 'fatal: bad config line 10 in file .git/config'
- Ubuntu (WSL) apt-get: 'E: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process'
- Ubuntu (WSL) sudo: 'unable to resolve host: Name or service not known'
- Ubuntu (WSL) apt-get update: 'Temporary failure resolving archive.ubuntu.com'
- Bash on Ubuntu (WSL): './script.sh: Permission denied' (exit code 126)
- Ubuntu (WSL) apt-get: 'E: Package 'python' has no installation candidate'
- Ubuntu (WSL) apt-get: 'E: dpkg was interrupted, you must manually run dpkg --configure -a'
- Bash on Ubuntu (WSL): 'syntax error near unexpected token (' in a script
- Docker build: 'E: Unable to locate package curl' from apt-get install
- Docker build: '/bin/sh: 1: curl: not found' and exit code 127
- Docker: 'System has not been booted with systemd as init system (PID 1). Can't operate.'
- Docker build: 'debconf: unable to initialize frontend: Dialog'
- Docker build warning: 'FromAsCasing: 'as' and 'FROM' keywords' casing do not match'
- Docker build warning: 'JSONArgsRecommended: JSON arguments recommended for CMD'
- Docker build warning: 'LegacyKeyValueFormat: "ENV key=value" should be used'
- Docker build warning: 'UndefinedVar: Usage of undefined variable'
- Docker build warning: 'SecretsUsedInArgOrEnv: Do not use ARG or ENV instructions for sensitive data'
- Docker build: 'dockerfile parse error on line 3: unknown instruction'
- Docker: 'exec /app/run.sh: exec format error' from an entrypoint script
- Docker: 'invalid reference format' from a path with spaces or an empty variable
- Docker: 'conflict: unable to delete (must be forced) - container is using its referenced image'
- Docker: 'Error response from daemon: container is not running' from docker exec
- Docker Compose: 'validating compose.yaml: services.web.enviroment false schema'
- Docker Compose: 'go-yaml load error in parser (while parsing a block mapping): did not find expected key'
- Docker Compose: 'service has neither an image nor a build context specified: invalid compose project'
- Docker build: 'failed to read dockerfile: open Dockerfile: no such file or directory'
- Docker: 'cannot remove container: container is running: stop the container before removing or force remove'
- Docker: 'error while removing network: network has active endpoints'
- Docker Compose: 'The "X" variable is not set. Defaulting to a blank string.'
- Docker Compose: 'env file ... not found: The system cannot find the file specified'
- Docker Compose: 'dependency failed to start: container is unhealthy'
- Docker: 'unable to find user: no matching entries in passwd file' from docker run --user
- Docker Compose: 'no such service' from docker compose up or logs
- Docker: 'Could not find the file ... in container' from docker cp
- Git: 'Another git process seems to be running in this repository' (index.lock: File exists)
- Git push: '! [rejected] main -> main (non-fast-forward)', tip of your branch is behind
- Git: 'error: The following untracked working tree files would be overwritten by checkout' (move or stash it)
- Git: 'You have not concluded your merge (MERGE_HEAD exists)': commit the merge or git merge --abort
- Git: 'error: the branch is not fully merged' from git branch -d
- Git: 'warning: adding embedded git repository', a repository inside a repository
- Git: 'fatal: ambiguous argument 'HEAD~1': unknown revision or path not in the working tree' (and 'HEAD')
- Git: 'error: cannot pull with rebase: You have unstaged changes'
- Git: 'error: Pulling is not possible because you have unmerged files' (resolve and commit, or abort)
- Git: 'error: cannot delete branch used by worktree at' from git branch -d
- Git: 'fatal: a branch named already exists' from branch, checkout -b and switch -c
- Git: 'There is already a rebase-merge directory, I wonder if you are in the middle of another rebase'
- Git: 'fatal: tag already exists' and push '! [rejected] (already exists)'
- Git: 'error: No such remote' from git remote remove, rename and set-url
- Docker: 'permission denied while trying to connect to the Docker daemon socket'
- Docker: 'Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?'
- Docker Compose: 'service "web" depends on undefined service "db": invalid compose project'
- Docker: 'failed to set up container networking: network ... not found'
- Docker: 'exec: "bash": executable file not found in $PATH' (OCI runtime create failed)
- Docker: 'Error response from daemon: remove ...: volume is in use'
- Git: 'fatal: Need to specify how to reconcile divergent branches'
- Git pull: 'error: Your local changes to the following files would be overwritten by merge' (stash or commit)
- Git: 'error: remote origin already exists'
- Git: 'Author identity unknown *** Please tell me who you are'
- Git: 'fatal: 'origin' does not appear to be a git repository'
- Git: .gitignore not working for a file that is already tracked
- Git: 'error: src refspec main does not match any'
- Git checkout: 'error: pathspec 'develop' did not match any file(s) known to git' (the branch is not there)
- Git: 'fatal: could not read Username for 'https://github.com': terminal prompts disabled'
- Bash: './deploy.sh: cannot execute: required file not found' from CRLF line endings
- Docker: 'push access denied, repository does not exist or may require authorization'
- Docker build: 'failed to compute cache key: failed to calculate checksum of ref ... not found'
- Docker: 'failed to connect to the docker API at npipe:////./pipe/dockerDesktopLinuxEngine; ...' (Windows)
- Docker: 'exec /entrypoint.sh: no such file or directory' from CRLF line endings
- WSL: 'The command 'docker' could not be found in this WSL 2 distro' (turn on Docker Desktop WSL integration)
- Docker: 'invalid mount config for type "bind": bind source path does not exist'
- Docker Compose: 'docker-compose: command not found' (use docker compose)
- Docker: 'invalid reference format: repository name must be lowercase'
- Docker: 'Conflict. The container name is already in use by container'
- Docker: 'Error response from daemon: pull access denied, repository does not exist or may require docker login'
- Docker: 'failed to resolve reference docker.io/library/postgres:99: not found'
- Docker Compose: 'no configuration file provided: not found'
- MSYS_NO_PATHCONV=1 for Docker in Git Bash: 'cannot access C:/Program Files/Git/data', path conversion off
- Git: 'fatal: not a git repository (or any of the parent directories)'
- Git: 'error: Your local changes to the following files would be overwritten by checkout' (commit, stash or discard)
- Git: 'warning: in the working copy of 'file', LF will be replaced by CRLF the next time Git touches it'
- Git for Windows: 'fatal: unable to stat ...: Filename too long'
- Docker: 'driver failed programming external connectivity ... port is already allocated'
- Docker on Windows: 'ports are not available ... forbidden by its access permissions'
- Git push: 'fatal: The current branch ... has no upstream branch'
- Git push: '! [rejected] main -> main (fetch first)' and 'failed to push some refs'
- Git pull: 'fatal: refusing to merge unrelated histories'
- WSL sudo password not working or forgotten: 'Sorry, try again', and how to reset it from Windows
- Docker: 'cannot attach stdin to a TTY-enabled container because stdin is not a terminal'
- Git in WSL: 'fatal: detected dubious ownership in repository at /mnt/c/...'
- WSL: 'sudo: a password is required' when a script runs from Windows