Skip to content
This repository has been archived by the owner on Jan 22, 2020. It is now read-only.

Timeout #8

Open
KevinBurton opened this issue Apr 17, 2018 · 0 comments
Open

Timeout #8

KevinBurton opened this issue Apr 17, 2018 · 0 comments

Comments

@KevinBurton
Copy link

I have a docker-compose.yml that looks like

version: '3.4'

services:
  nuget-server:
    image: sunside/simple-nuget-server
    environment:
      - NUGET_API_KEY=823281825
      - BASE_URL=/nuget
    volumes:
      - nuget-database:/var/www/db
      - nuget-packages:/var/www/packagefiles
    ports:
      - 56000:5000

volumes:
  nuget-database:  
  nuget-packages:

When I issue the command nuget push -Source http://localhost:56000/nuget -ApiKey 823281825 coremodels/1.0.0/coremodels.1.0.0.nupkg I get

Pushing coremodels.1.0.0.nupkg to 'http://localhost:56000/nuget'...
  PUT http://localhost:56000/nuget/
An error was encountered when fetching 'PUT http://localhost:56000/nuget/'. The request will now be retried.
The HTTP request to 'PUT http://localhost:56000/nuget/' has timed out after 300000ms.
A task was canceled.
  Pushing took too long. You can change the default timeout of 300 seconds by using the -Timeout <seconds> option with the push command.

I cannot see that I have started up the container or called nuget incorrectly. Can you see the cause of the timeout?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant