#Network error while uploading files either from panel or winscp

19 messages · Page 1 of 1 (latest)

agile grove
#

I'm getting an error when I try uploading files from either the panel or winscp.

in the panel it says network error

in winscp it says network error: software caused network abort

mental saddleBOT
#

@agile grove; You'll need to grab the error logs from the Panel. The following command uploads the last 150 lines of this day's log to our pastebin and provides a link you can share.
tail -n 150 /var/www/pterodactyl/storage/logs/laravel-$(date +%F).log | nc pteropaste.com 99

agile grove
mental saddleBOT
#

I have found the following for: https://ptero.co/ocevajodaj
🇫🇷 🥖 Bienvenue sur Internet, @agile grove 🥖 🇫🇷

Your database is refusing the Panel's attempts to connect to it. This can be for a number of different reasons so I'll let a human double check, but here are some ideas.

  1. Is your MySQL instance running? systemctl status mysql(hopefully not down the road)
  2. Is the user you're trying to connect with authorized to access the given database from this IP address?
  3. Did you correctly give that user permission to even access that database?
  4. Do you have a Firewall that is blocking connections?
  5. Is your MySQL instance bound to 127.0.0.1 or localhost and you're trying to connect from outside the server?
  6. Does the user have GRANT permissions if you're trying to use them to create a new database for a server?
  7. Have special characters in your password? Make sure DB_PASSWORD in your .env file is enclosed in double quotes

Here is some additional documentation to help you out: https://pterodactyl.io/tutorials/mysql_setup.html

agile grove
mental saddleBOT
#

I have found the following for: https://ptero.co/dokequfufo
🇫🇷 🥖 Bienvenue sur Internet, @agile grove 🥖 🇫🇷

Your database is refusing the Panel's attempts to connect to it. This can be for a number of different reasons so I'll let a human double check, but here are some ideas.

  1. Is your MySQL instance running? systemctl status mysql(hopefully not down the road)
  2. Is the user you're trying to connect with authorized to access the given database from this IP address?
  3. Did you correctly give that user permission to even access that database?
  4. Do you have a Firewall that is blocking connections?
  5. Is your MySQL instance bound to 127.0.0.1 or localhost and you're trying to connect from outside the server?
  6. Does the user have GRANT permissions if you're trying to use them to create a new database for a server?
  7. Have special characters in your password? Make sure DB_PASSWORD in your .env file is enclosed in double quotes

Here is some additional documentation to help you out: https://pterodactyl.io/tutorials/mysql_setup.html

agile grove
#

I'm not even using the database so thanks...

steep knot
#

If you go to Admin Settings -> Nodes, does yours have a green heart?

agile grove
#

That was when I saw another message mentioning about behind proxy and http so I was messing with the settings

steep knot
#

Are you behind a proxy?

agile grove
#

I’m not behind a proxy

steep knot
#

So your Node settings are proxy off, and when you try to upload the file over SFTP you get a network issue?

agile grove
#

Correct

mental saddleBOT
#

Suppose you are having trouble connecting to a Panel or Node on the same network as your device, or Panel and Wings can't reach each other on the same network. In that case, you may have to edit your /etc/hosts file to point the domain to the local IP, as some routers don't handle NAT Loopback correctly, if at all. On Windows, this file is at C:\Windows\System32\Drivers\etc\hosts

192.168.1.24 panel.mydomain.com node1.mydomain.com
192.168.1.25 node2.mydomain.com
near basin
#

sftp is managed by wings, so grab wings' logs

mental saddleBOT
#

You'll need to grab error logs for Wings and share the link with us. The following command will help you collect the required information for debugging: sudo wings diagnostics