Welcome to the PufferPanel community forums! If you need help please register an account and post in the Support category.

Can't create server : Error 999



  • Hi,

    When I try to create a server I get this error

    An error occurred while trying to connect to the remote node. Please check that the daemon is running and try again.
    An error occurred trying to add a server. (unexpected error) [999]
    

    Pufferd logs :

    [20:28:35] [INFO] pufferd v1.2.4 (bf777b97c88b3dd92b3bdc630bb39115ae921be5)
    [20:28:35] [INFO] Logging set to INFO
    [20:28:35] [DEBUG] Checking for updates using https://dl.pufferpanel.com/pufferd/v1.2/version.txt
    [20:28:35] [WARN] No HTTPS.PEM found in data folder, will use http instead
    [20:28:35] [DEBUG] Loading existing key
    [20:28:35] [INFO] Started SFTP Server on XXX:5657
    [20:28:35] [INFO] Starting web access on XXX:5656
    [20:29:30] [ERROR] Error handling route
    runtime error: invalid memory address or nil pointer dereference
    goroutine 46 [running]:
    runtime/debug.Stack(0xc4201d8730, 0xb194c0, 0x102d580)
    	/usr/local/go/src/runtime/debug/stack.go:24 +0xa7
    github.com/pufferpanel/pufferd/vendor/github.com/pufferpanel/apufferi/http/handler.Recovery.func1.1(0xc4201ce000)
    	/home/teamcity/buildAgent/work/8c94c4c54a5058d8/src/github.com/pufferpanel/pufferd/vendor/github.com/pufferpanel/apufferi/http/handler/errorlogging.go:16 +0x19d
    panic(0xb194c0, 0x102d580)
    	/usr/local/go/src/runtime/panic.go:505 +0x229
    github.com/pufferpanel/pufferd/httphandlers.validateToken(0xc4202ec007, 0x20, 0xc4201ce000, 0x0)
    	/home/teamcity/buildAgent/work/8c94c4c54a5058d8/src/github.com/pufferpanel/pufferd/httphandlers/oauth2.go:140 +0x3c5
    github.com/pufferpanel/pufferd/httphandlers.OAuth2Handler.func1(0xc4201ce000)
    	/home/teamcity/buildAgent/work/8c94c4c54a5058d8/src/github.com/pufferpanel/pufferd/httphandlers/oauth2.go:81 +0xacc
    github.com/pufferpanel/pufferd/vendor/github.com/gin-gonic/gin.(*Context).Next(0xc4201ce000)
    	/home/teamcity/buildAgent/work/8c94c4c54a5058d8/src/github.com/pufferpanel/pufferd/vendor/github.com/gin-gonic/gin/context.go:104 +0x43
    github.com/pufferpanel/pufferd/vendor/github.com/pufferpanel/apufferi/http/handler.Recovery.func1(0xc4201ce000)
    	/home/teamcity/buildAgent/work/8c94c4c54a5058d8/src/github.com/pufferpanel/pufferd/vendor/github.com/pufferpanel/apufferi/http/handler/errorlogging.go:20 +0x51
    github.com/pufferpanel/pufferd/vendor/github.com/gin-gonic/gin.(*Context).Next(0xc4201ce000)
    	/home/teamcity/buildAgent/work/8c94c4c54a5058d8/src/github.com/pufferpanel/pufferd/vendor/github.com/gin-gonic/gin/context.go:104 +0x43
    github.com/pufferpanel/pufferd/vendor/github.com/gin-gonic/gin.RecoveryWithWriter.func1(0xc4201ce000)
    	/home/teamcity/buildAgent/work/8c94c4c54a5058d8/src/github.com/pufferpanel/pufferd/vendor/github.com/gin-gonic/gin/recovery.go:45 +0x5a
    github.com/pufferpanel/pufferd/vendor/github.com/gin-gonic/gin.(*Context).Next(0xc4201ce000)
    	/home/teamcity/buildAgent/work/8c94c4c54a5058d8/src/github.com/pufferpanel/pufferd/vendor/github.com/gin-gonic/gin/context.go:104 +0x43
    github.com/pufferpanel/pufferd/vendor/github.com/gin-gonic/gin.(*Engine).handleHTTPRequest(0xc42047e000, 0xc4201ce000)
    	/home/teamcity/buildAgent/work/8c94c4c54a5058d8/src/github.com/pufferpanel/pufferd/vendor/github.com/gin-gonic/gin/gin.go:332 +0x585
    github.com/pufferpanel/pufferd/vendor/github.com/gin-gonic/gin.(*Engine).ServeHTTP(0xc42047e000, 0xcb63e0, 0xc42039a000, 0xc420498300)
    	/home/teamcity/buildAgent/work/8c94c4c54a5058d8/src/github.com/pufferpanel/pufferd/vendor/github.com/gin-gonic/gin/gin.go:296 +0x153
    net/http.serverHandler.ServeHTTP(0xc420206820, 0xcb63e0, 0xc42039a000, 0xc420498300)
    	/usr/local/go/src/net/http/server.go:2694 +0xbc
    net/http.(*conn).serve(0xc4204888c0, 0xcb6ee0, 0xc4201d0080)
    	/usr/local/go/src/net/http/server.go:1830 +0x651
    created by net/http.(*Server).Serve
    	/usr/local/go/src/net/http/server.go:2795 +0x27b
    
    [20:34:48] [WARN] Interrupt received, stopping servers
    [20:34:48] [INFO] All servers stopped
    

    Node looks ok tho :

    {
      "success": true,
      "msg": "pufferd is running"
    }
    


  • What template did you select?

    Can you please confirm that /etc/pufferd/config.json points to your panel?

    Are you using cloudflare?


 

4
Online

851
Users

860
Topics

3.6k
Posts