Can't do anything with a server. #840
Replies: 10 comments 9 replies
-
Fyroeo wrote at Aug 23 2018 22:06:14 UTC: Forgot the exception.log
|
Beta Was this translation helpful? Give feedback.
-
LordRalex wrote at Aug 23 2018 22:06:14 UTC: "MySQL server has gone away" This sounds like your database is just dying to me. You sure it's still running properly? |
Beta Was this translation helpful? Give feedback.
-
LordRalex wrote at Aug 23 2018 22:06:14 UTC: That is very odd. That error indicates it's timing out the connection (essentially), but there's no real reason why. The errors above that (the offset) is because someone is logging into SFTP with a bad username (it has to be It is also failing to get to pufferd well too, what logs are in /var/log/pufferd? |
Beta Was this translation helpful? Give feedback.
-
LordRalex wrote at Aug 23 2018 22:06:14 UTC: Logs look okay, nothing out of the ordinary really that would really indicate an issue. Can you please add the following to your pufferd config so it can log what is being called more clearly?
It'd look like this: {
"authserver": "---------/oauth2/token/request",
"infoserver": "---------/oauth2/token/info",
"authtoken": "---------",
"forward": "false",
"console-buffer": "50",
"web": "0.0.0.0:5658",
"sftp": "0.0.0.0:5657",
"update-check": true,
"serverfolder": "/var/lib/pufferd/servers",
"templatefolder": "/var/lib/pufferd/templates",
"datafolder": "/etc/pufferd",
"log.api": true
}
|
Beta Was this translation helpful? Give feedback.
-
LordRalex wrote at Aug 23 2018 22:06:14 UTC: Yeah, none of those are the browser nor the panel contacting pufferd. What is in your "Network" tab in the browser? There should be one to "/start". |
Beta Was this translation helpful? Give feedback.
-
LordRalex wrote at Aug 23 2018 22:06:14 UTC: What I mean is: Press F12 when you are in the panel. In the area that shows up, select "Network". Refresh the page, then try to start your server. In the area that showed up prior, select the one with the "/start". |
Beta Was this translation helpful? Give feedback.
-
LordRalex wrote at Aug 23 2018 22:06:14 UTC: Good, what is in that "Response" part? |
Beta Was this translation helpful? Give feedback.
-
LordRalex wrote at Aug 23 2018 22:06:14 UTC: Well, that's certainly.... interesting. All the data looks correct, but somehow that response is definitely not what we expected. That is not the daemon or the panel triggering. Interestingly, the socket connection worked, but that's not. Did you have any issues installing the panel or the server originally? I do see HTTPS in use, but seems like at a glance it'd be configured correctly for the websocket to connect properly. |
Beta Was this translation helpful? Give feedback.
-
LordRalex wrote at Aug 23 2018 22:06:14 UTC: Something does not line up then, because it should be using similar calls. When you go to view all of your servers, does it show the address correctly? Or does it remain empty? |
Beta Was this translation helpful? Give feedback.
-
LordRalex wrote at Aug 23 2018 22:06:14 UTC: Can you do the same thing with the network tab there and look for "server-status" (I think it's that one). I want to see if it's returning the same thing. Either way, something is definitely up with this. That is not a pufferpanel error, and pufferd doesn't even see the call. The fact the API does handle errors right (as in, you call it without the auth or for a missing server) means our code is running, but there should not be a reason that garbage comes back. I'd hate to ask how hard it'd be to switch to nginx as a test? Apache has caused issues in the past, and while I'm 90% sure it's not the issue, I want to test that theory. |
Beta Was this translation helpful? Give feedback.
-
Fyroeo wrote at Aug 23 2018 22:06:14 UTC:
Hello,
I installed PufferPanel on my VPS and I can't use it as I want.
When attempting to start a server, i obtain this error: {{ }} (Internal Server Error)
When attempting to restart, stop and install I get this error: Unable to process your request. Please try again. (Internal Server Error)
This is the error.log in /srv/pufferpanel/logs:
I don't have any error into the pufferd logs .
My ports are open into my VPS firewall (see screen)
Thanks you !
Beta Was this translation helpful? Give feedback.
All reactions