Suro
Suro
Explore posts from servers
CC#
Created by Suro on 6/18/2024 in #help
✅ [Solved] Dotnet restore is failing on new apps
I'm working with the CLI on linux. Any new app I create (console, web api, etc) running dotnet restore fails like this:
Build FAILED.

"/home/suren/test/test.csproj" (Restore target) (1) ->
(Restore target) ->
/usr/share/dotnet/sdk/8.0.106/NuGet.targets(156,5): error : Unable to load the service index for source https://api.nuget.org/v3/index.json. [/home/suren/test/test.csproj]
/usr/share/dotnet/sdk/8.0.106/NuGet.targets(156,5): error : The HTTP request to 'GET https://api.nuget.org/v3/index.json' has timed out after 100000ms. [/home/suren/test/test.csproj]

0 Warning(s)
1 Error(s)
Build FAILED.

"/home/suren/test/test.csproj" (Restore target) (1) ->
(Restore target) ->
/usr/share/dotnet/sdk/8.0.106/NuGet.targets(156,5): error : Unable to load the service index for source https://api.nuget.org/v3/index.json. [/home/suren/test/test.csproj]
/usr/share/dotnet/sdk/8.0.106/NuGet.targets(156,5): error : The HTTP request to 'GET https://api.nuget.org/v3/index.json' has timed out after 100000ms. [/home/suren/test/test.csproj]

0 Warning(s)
1 Error(s)
I have an existing project I pulled from github, dotnet restore works fine on it. Anyone know what is going on?
45 replies
CC#
Created by Suro on 6/8/2024 in #help
Open source LSP with dependency injection aware implementation finding?
I got OmniSharp working in Neovim but it doesn't find implementations for services that are DId into controllers. Has anyone got this working?
52 replies
CDCloudflare Developers
Created by Suro on 5/10/2024 in #general-help
Cloudflare for SaaS with apex proxying without enterprise plan?
Hi, I've been excited about bringing our SaaS over to Cloudflare for a while, today I finally started digging in and I found this: https://developers.cloudflare.com/cloudflare-for-platforms/cloudflare-for-saas/start/advanced-settings/apex-proxying/ Apex proxying is an enterprise only feature. This is a deal breaker because most customers want to point their entire root domain to us... Right now we have a VM with https://caddyserver.com/ on a docker container managing SSL certs for custom domains via letsencrypt. It works great for that. Is there a known workaround to using Cloudlfare CDN / DDoS protection / bot mitigation / etc, while still letting customers point apex domains to us? Without having to shell out $5k/month on enterprise, that is. Some kind of mix of using Caddy + Cloudflare perhaps?
14 replies