exceptionless / Exceptionless

Exceptionless application
https://exceptionless.com
Apache License 2.0
2.41k stars 516 forks source link

Dockerfile publishing failed #613

Closed benxionghu closed 4 years ago

benxionghu commented 4 years ago

Use the downloaded dockerfile RUN dotnet restore Prompt: /usr/share/dotnet/sdk/3.1.101/NuGet.targets(123,5): error : Unable to load the service index for source https://f.feedz.io/foundatio/foundatio/nuget/index.json. [/app/Exceptionless.sln] /usr/share/dotnet/sdk/3.1.101/NuGet.targets(123,5): error : Resource temporarily unavailable [/app/Exceptionless.sln] ERROR: Service 'api' failed to build: The command '/bin/sh -c dotnet restore' returned a non-zero code: 1

niemyjski commented 4 years ago

When did you download the docker-compose file? We no longer require building the source for the docker-compose file. If you are using the docker file than you need to be sure you can reach the feeds.io service and it's not blocked by a firewall.

ejsmith commented 4 years ago

@1301536601 I assume you are trying to build the app and not just run the app? If so, you don't even need to use the Dockerfile to build it. We just use it for repeatability and for creating the docker images that we deploy. If you are trying to do the same then it will use the feedz nuget source to try and pull packages. So if it was down or not reachable for some reason then the build would probably fail.

niemyjski commented 4 years ago

I think feedz might be blocked in china, and this is why we are running into all these issues.

niemyjski commented 4 years ago

Please let us know if you are trying to run or build the app.

niemyjski commented 4 years ago

Can you please try the docker-compose file located here: https://github.com/exceptionless/Exceptionless/blob/feature/discard-join/docker-compose.yml

wufengren commented 4 years ago

@niemyjski I tried this docker-compose file and published successfully, but I have another issue in the signup page. No matter which email I give, it always would be prompted "A user already exists with this email address".

211855

niemyjski commented 4 years ago

Check your browser network tab, I'm guessing it's due to api server configuration on the client's config.js not pointing to your web server.

yaoxiadu commented 4 years ago

Your mirror can be downloaded, what is the URL

niemyjski commented 4 years ago

@yaoxiadu You'd need to follow the self hosted documentation and put the ip or hostname of your server hosting exceptionless in the url.

I'm closing this as the new docker-compose file has been merged into the master repo.