Jump to content
MHG

Codius Pod Upload Tool Test - 504 error

Recommended Posts

Hi,

I've set up two servers running codius, however I've tried running the upload test which can be found here : https://upload.host1.codius.live/

Both my servers return a 504 error, that's a timeout error but has anyone figured it out how to get around this and why does it take so long as to trigger a timeout?

Help would be much appreciated.

Share this post


Link to post
Share on other sites

Hi,

Contract uploads generally take less than 30 seconds. There are two first steps you can take.

1. Just try the upload again ( maybe your server is struggling to download the pod resources in time ).

2. Restart your services (primarily moneyd) 

systemctl restart hyperd

systemctl restart moneyd-xrp

systemctl restart codiusd

systemctl restart nginx.

Share this post


Link to post
Share on other sites
8 hours ago, Heisenberg said:

@retryWThanks for a great tool. Just testing it out now and getting a below message. Have you seen this before?

Pod Upload Failed!: Request Failed

I have but it was weeks ago ?

I'd try restarting hyperd then codiusd.  Then try upload again.

If it still doesn't work maybe update codiusd if you haven't already.

Seems like a codiusd or hyperd issue though so could look through those logs

Share this post


Link to post
Share on other sites
On 7/7/2018 at 6:47 PM, Heisenberg said:

@retryWThanks for a great tool. Just testing it out now and getting a below message. Have you seen this before?

Pod Upload Failed!: Request Failed

Unfortunately same issue here. I set up a codius host and it’s seems to be ok (version number 1.1.1) but upload test tool doesn’t able to upload pod to my host. I got the same error message. :(

Edited by Barnabas

Share this post


Link to post
Share on other sites

Any luck fixing? Whats strange is I have seen the contact count for my host at 1 today on codiushosts.com. Checking through the logs I see some hyperd errors, no idea why full listing below. @retryW anything obviously wrong here?

Jul 08 21:49:23 codius1.connectilp.com hyperd[32882]: E0708 21:49:23.555183   32882 server.go:170] Handler for GET /pod/info returned error: Can not get Pod info with pod ID(l2xvchk27rbrnh3mc3y4p3iaeoonjzur2u24qxuod2iaqd5mlioa)
Jul 08 21:49:23 codius1.connectilp.com hyperd[32882]: E0708 21:49:23.629599   32882 json.go:141] read init data failed
Jul 08 21:49:23 codius1.connectilp.com hyperd[32882]: E0708 21:49:23.629711   32882 json.go:175] SB[vm-KrXVrBIoQD] error when readVmMessage() for ready message: read unix @->/var/run/hyper/vm-KrXVrBIoQD/hyper.sock: read: connection reset by peer
Jul 08 21:49:23 codius1.connectilp.com hyperd[32882]: E0708 21:49:23.629756   32882 json.go:601] SB[vm-KrXVrBIoQD] get hyperstart API version error: hyperstart closed
Jul 08 21:49:23 codius1.connectilp.com hyperd[32882]: E0708 21:49:23.629800   32882 vm_states.go:372] SB[vm-KrXVrBIoQD] hyperstart failed: hyperstart closed
Jul 08 21:49:23 codius1.connectilp.com hyperd[32882]: E0708 21:49:23.629833   32882 vm_states.go:329] SB[vm-KrXVrBIoQD] Shutting down because of an exception: %!(EXTRA string=connection to vm broken)
Jul 08 21:49:23 codius1.connectilp.com hyperd[32882]: E0708 21:49:23.629873   32882 qmp_handler.go:183] get qmp welcome failed: read unix @->/var/run/hyper/vm-KrXVrBIoQD/qmp.sock: read: connection reset by peer
Jul 08 21:49:23 codius1.connectilp.com hyperd[32882]: E0708 21:49:23.629915   32882 json.go:401] read tty data failed
Jul 08 21:49:23 codius1.connectilp.com hyperd[32882]: E0708 21:49:23.629934   32882 json.go:458] SB[vm-KrXVrBIoQD] tty socket closed, quit the reading goroutine: read unix @->/var/run/hyper/vm-KrXVrBIoQD/tty.sock: use of closed network connection
Jul 08 21:49:23 codius1.connectilp.com hyperd[32882]: E0708 21:49:23.629950   32882 qmp_handler.go:371] QMP initialize failed
Jul 08 21:49:23 codius1.connectilp.com hyperd[32882]: E0708 21:49:23.629956   32882 vm_states.go:309] SB[vm-KrXVrBIoQD] Start POD failed: hyperstart closed
Jul 08 21:49:23 codius1.connectilp.com hyperd[32882]: E0708 21:49:23.630022   32882 run.go:34] l2xvchk27rbrnh3mc3y4p3iaeoonjzur2u24qxuod2iaqd5mlioa: failed to add pod: hyperstart closed
Jul 08 21:49:23 codius1.connectilp.com hyperd[32882]: E0708 21:49:23.630039   32882 server.go:170] Handler for POST /pod/create returned error: hyperstart closed
Jul 08 21:49:23 codius1.connectilp.com hyperd[32882]: E0708 21:49:23.633234   32882 qemu_process.go:155] cpuid_data is full, no space for cpuid(eax:0x4,ecx:0x5d)
Jul 08 21:49:23 codius1.connectilp.com hyperd[32882]: E0708 21:49:23.633249   32882 qemu_process.go:159] exit status 1
Jul 08 21:49:25 codius1.connectilp.com hyperd[32882]: E0708 21:49:25.462238   32882 json.go:401] read tty data failed
Jul 08 21:49:25 codius1.connectilp.com hyperd[32882]: E0708 21:49:25.462279   32882 qmp_handler.go:183] get qmp welcome failed: read unix @->/var/run/hyper/vm-cEnkJkUGao/qmp.sock: read: connection reset by peer
Jul 08 21:49:25 codius1.connectilp.com hyperd[32882]: E0708 21:49:25.462302   32882 json.go:458] SB[vm-cEnkJkUGao] tty socket closed, quit the reading goroutine: read unix @->/var/run/hyper/vm-cEnkJkUGao/tty.sock: read: connection reset by peer
Jul 08 21:49:25 codius1.connectilp.com hyperd[32882]: E0708 21:49:25.462357   32882 json.go:601] SB[vm-cEnkJkUGao] get hyperstart API version error: hyperstart closed
Jul 08 21:49:25 codius1.connectilp.com hyperd[32882]: E0708 21:49:25.462371   32882 qmp_handler.go:371] QMP initialize failed
Jul 08 21:49:25 codius1.connectilp.com hyperd[32882]: E0708 21:49:25.462238   32882 json.go:141] read init data failed
Jul 08 21:49:25 codius1.connectilp.com hyperd[32882]: E0708 21:49:25.462412   32882 vm_states.go:309] SB[vm-cEnkJkUGao] Start POD failed: hyperstart closed
Jul 08 21:49:25 codius1.connectilp.com hyperd[32882]: E0708 21:49:25.462421   32882 json.go:175] SB[vm-cEnkJkUGao] error when readVmMessage() for ready message: read unix @->/var/run/hyper/vm-cEnkJkUGao/hyper.sock: read: connection reset by peer
Jul 08 21:49:25 codius1.connectilp.com hyperd[32882]: E0708 21:49:25.462473   32882 vm_states.go:372] SB[vm-cEnkJkUGao] read unix @->/var/run/hyper/vm-cEnkJkUGao/qmp.sock: read: connection reset by peer
Jul 08 21:49:25 codius1.connectilp.com hyperd[32882]: E0708 21:49:25.462479   32882 run.go:34] l2xvchk27rbrnh3mc3y4p3iaeoonjzur2u24qxuod2iaqd5mlioa: failed to add pod: hyperstart closed
Jul 08 21:49:25 codius1.connectilp.com hyperd[32882]: E0708 21:49:25.462486   32882 vm_states.go:329] SB[vm-cEnkJkUGao] Shutting down because of an exception: %!(EXTRA string=connection to vm broken)
Jul 08 21:49:25 codius1.connectilp.com hyperd[32882]: E0708 21:49:25.462495   32882 server.go:170] Handler for POST /pod/create returned error: hyperstart closed
Jul 08 21:49:25 codius1.connectilp.com hyperd[32882]: E0708 21:49:25.463366   32882 qemu_process.go:155] cpuid_data is full, no space for cpuid(eax:0x4,ecx:0x5d)
Jul 08 21:49:25 codius1.connectilp.com hyperd[32882]: E0708 21:49:25.463383   32882 qemu_process.go:159] exit status 1

 

Share this post


Link to post
Share on other sites
9 hours ago, Heisenberg said:

Any luck fixing? Whats strange is I have seen the contact count for my host at 1 today on codiushosts.com. Checking through the logs I see some hyperd errors, no idea why full listing below. @retryW anything obviously wrong here?

 

Your hyperd looks pretty boned. Maybe nuke and reinstall hyperd.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...