elective-stereophonic
elective-stereophonic
uMGW - release of Universal MGW daemon  
Please login or register.

Login with username, password and session length
Advanced search  

News:

Latest Stable Nxt Client: Nxt 1.12.2

Pages: 1 ... 8 9 [10]  All

Author Topic: uMGW - release of Universal MGW daemon  (Read 24757 times)

jefdiesel

  • Hero Member
  • *****
  • Karma: +88/-77
  • Offline Offline
  • Posts: 1275
    • View Profile
Re: uMGW - release of Universal MGW daemon
« Reply #180 on: August 02, 2014, 11:36:31 pm »

I'll be online late tonight if you want to have a Skype and mess with my node, see if we can get them up and chatting
Logged
Member of D.O.R.C.S., creators of Lyth - An Emergent Trading Game | Asset ID: 2318361924203311027

m30188

  • Guest
Re: uMGW - release of Universal MGW daemon
« Reply #181 on: August 02, 2014, 11:42:35 pm »

I'll be online late tonight if you want to have a Skype and mess with my node, see if we can get them up and chatting
Giggity
Logged

cobaltskky

  • Hero Member
  • *****
  • Karma: +226/-138
  • Offline Offline
  • Posts: 2344
    • View Profile
Re: uMGW - release of Universal MGW daemon
« Reply #182 on: August 03, 2014, 01:12:17 am »

I'll be online late tonight if you want to have a Skype and mess with my node, see if we can get them up and chatting

I'd like to hold until you guys can beat on my cluster to make sure it's working okay. :)  Once we know that's good and my config, etc, is working, then lets look into splitting up the nodes onto your's and VB's servers.  I've learned, when working with computers, one small step at a time is easier to troubleshoot than a giant leap. ;)

Plus I have a date with Qdoba and Blue Is The Warmest Color tonight. lol
Logged

m30188

  • Guest
Re: uMGW - release of Universal MGW daemon
« Reply #183 on: August 03, 2014, 02:04:50 am »

Isn't there going to be a web-based interface to the MGW, like secureae.com for AE?
Logged

jl777

  • Hero Member
  • *****
  • Karma: +718/-123
  • Offline Offline
  • Posts: 6170
    • View Profile
Re: uMGW - release of Universal MGW daemon
« Reply #184 on: August 03, 2014, 04:23:19 am »

I should have called it a day when I said I was going to! lol  I broke my Earthcoin. :/  Here are the events leading up to it not working:

Withdraws were working fine and the service was humming away on the console

Modified NRS nxt.properties to have only 100 connections (trying to reduce outbound bandwidth usage)

killed NRS process, re-launched NRS process, waited for NRS to come up

Noticed that uMGW for Earthcoin didn't seem to be picking up NXT blocks anymore(might have been wrong on this)

Ran kill -15 on umgw process on all nodes

Relaunched uMGW on all nodes

Got a segmentation fault and core dump :/

Went into umgw backups folder and renamed the EAC.cache file on all nodes (thinking maybe the cache needed to be cleared)

Relaunched uMGW

Still core dump :/

Here's a clean pastebin of the console output:

http://paste.ubuntu.com/7937402/

James or Frohike, any assistance is much appreciated!  Am I stopping uMGW correctly by running a kill -15 against it?  Seems like I bork it whenever I do that...
kill -15 should be fine
killing NXT while MGW is running, is something that usually is OK, but sometimes requires restarting MGW. Maybe safer to exit MGW first, before fiddling with NRS

In the pastebin: MTadd_hashtable: adding null key!
is right before the crash. This means that some data that was assumed to be valid was empty (maybe from NRS not being there for a bit?)

maybe it is from something new on the blockchain. So, to troubleshoot this, one way is to set the first block to the latest blocks (both coin and NXT), that will make it not see any prior data. If things work fine, then you can rewind things and see if it still works or if it breaks.

If it breaks, that would indicate some data on the blockchain that is confusing it

Logged
There are over 1000 people in SuperNET slack! http://slackinvite.supernet.org/ automatically sends you an invite

I am just a simple C programmer

cobaltskky

  • Hero Member
  • *****
  • Karma: +226/-138
  • Offline Offline
  • Posts: 2344
    • View Profile
Re: uMGW - release of Universal MGW daemon
« Reply #185 on: August 03, 2014, 02:48:52 pm »

kill -15 should be fine
killing NXT while MGW is running, is something that usually is OK, but sometimes requires restarting MGW. Maybe safer to exit MGW first, before fiddling with NRS

In the pastebin: MTadd_hashtable: adding null key!
is right before the crash. This means that some data that was assumed to be valid was empty (maybe from NRS not being there for a bit?)

maybe it is from something new on the blockchain. So, to troubleshoot this, one way is to set the first block to the latest blocks (both coin and NXT), that will make it not see any prior data. If things work fine, then you can rewind things and see if it still works or if it breaks.

If it breaks, that would indicate some data on the blockchain that is confusing it

Updating the starting block to around the time that I killed the uMGW got uMGW back up, but now I've run into another problem.  I attempted to withdraw EAC from an account with an existing deposit address.  When I did that, uMGW saw my NXT account as not having a deposit address, and generated a new one. :(  Now it won't send the EAC due to some multisig error with the new deposit address.

Also, when I deposit EAC to the original addresses that I had, uMGW doesn't issue assets to my NXT accounts.  I'm thinking this is because it no longer recognizes those original deposit addresses as being bound to the NXT accounts.

This is a major issue for moving forward to production.  We need to be able to terminate the uMGW process and restart it without major issues like this.  I'm thinking for testing that I could start over with fresh NXT accounts just to keep testing, but that's obviously not an acceptable solution when uMGW is in production.
« Last Edit: August 03, 2014, 05:47:47 pm by cobaltskky »
Logged

cobaltskky

  • Hero Member
  • *****
  • Karma: +226/-138
  • Offline Offline
  • Posts: 2344
    • View Profile
Re: uMGW - release of Universal MGW daemon
« Reply #186 on: August 03, 2014, 06:00:48 pm »

Frohike, what was your process to migrate the uMGW instance and the coin wallets over to the production hardware?  How did you avoid the issues that I posted above?
Logged

allwelder

  • Hero Member
  • *****
  • Karma: +196/-13
  • Offline Offline
  • Posts: 1867
  • NxtChina.org
    • View Profile
    • NxtChina.org
Re: uMGW - release of Universal MGW daemon
« Reply #187 on: August 04, 2014, 08:40:05 am »

MGW withdraw is automatical or dealed with man?
Logged
NxtChina |Weibo |Twitter Donation welcomed:NXT-APL9-66GU-K8LY-B3JJJ

cobaltskky

  • Hero Member
  • *****
  • Karma: +226/-138
  • Offline Offline
  • Posts: 2344
    • View Profile
Re: uMGW - release of Universal MGW daemon
« Reply #188 on: August 04, 2014, 10:44:43 am »

MGW withdraw is automatical or dealed with man?

Automatical.
Logged

Frohike

  • Full Member
  • ***
  • Karma: +30/-1
  • Offline Offline
  • Posts: 121
  • Help to build NXT and make dreams come true
    • View Profile
    • http://multigateway.org
Re: uMGW - release of Universal MGW daemon
« Reply #189 on: August 04, 2014, 11:00:38 am »

I did not migrate anything, I build it on those servers directly. I think you got a point here, major issue.
Logged
Security, Linux, Hardening, Infrastructure services. *** Currently working for NXTservices, like the MGW and Instantdex. ***---Also working on SuperNET - SuperNET server and services---***

NXT-TJ66-UWW7-GKC9-3F3PE

costa2439

  • Full Member
  • ***
  • Karma: +5/-0
  • Offline Offline
  • Posts: 109
    • View Profile
Re: uMGW - release of Universal MGW daemon
« Reply #190 on: August 07, 2014, 06:54:43 am »

With the departure of ehterum, can we create a secondary market through MGW?

This would give a lot of movement to MGW

sorry for my English.
Logged

cobaltskky

  • Hero Member
  • *****
  • Karma: +226/-138
  • Offline Offline
  • Posts: 2344
    • View Profile
Re: uMGW - release of Universal MGW daemon
« Reply #191 on: August 07, 2014, 11:02:16 am »

With the departure of ehterum, can we create a secondary market through MGW?

This would give a lot of movement to MGW

sorry for my English.

Departure of Ethereum??
Logged

valarmg

  • Hero Member
  • *****
  • Karma: +178/-57
  • Offline Offline
  • Posts: 1766
    • View Profile
Re: uMGW - release of Universal MGW daemon
« Reply #192 on: August 07, 2014, 12:48:42 pm »

With the departure of ehterum, can we create a secondary market through MGW?

This would give a lot of movement to MGW

sorry for my English.

Departure of Ethereum??

I think he means that we allow ether to be deposited via the MGW and bought and sold via the Asset Exchange.

I doubt that's possible via the MGW. However, possibly a trusted party with lots of ether could create an ether-backed asset on the Asset Exchange and allow ether trading that way.
Logged
NXT-CSED-4PK5-AR4V-6UB5V

costa2439

  • Full Member
  • ***
  • Karma: +5/-0
  • Offline Offline
  • Posts: 109
    • View Profile
Re: uMGW - release of Universal MGW daemon
« Reply #193 on: August 18, 2014, 03:04:04 pm »

With the departure of ehterum, can we create a secondary market through MGW?

This would give a lot of movement to MGW

sorry for my English.

Departure of Ethereum??

I think he means that we allow ether to be deposited via the MGW and bought and sold via the Asset Exchange.

I doubt that's possible via the MGW. However, possibly a trusted party with lots of ether could create an ether-backed asset on the Asset Exchange and allow ether trading that way.

exactly, thanks
Logged

garp

  • Jr. Member
  • **
  • Karma: +8/-2
  • Offline Offline
  • Posts: 74
    • View Profile
Re: uMGW - release of Universal MGW daemon
« Reply #194 on: December 06, 2014, 10:31:26 am »

What's the status of uMGW. Coins added recently?

In an attempt to consolidate needed effort to add a server triplet for a new coin, I came to this list:
  • work with james to get uMGW to support the coin, if it is not the case yet.
  • look for three thrustworthy volunteers to host a new MGW server for the coin.
  • Create a mgwCoin asset on the NXT AE
  • Work on a config to get the servers working.


Correct?
Logged
NXT-BDK7-3JBD-GFA8-ATX73

VanBreuk

  • Hero Member
  • *****
  • Karma: +362/-19
  • Offline Offline
  • Posts: 2772
    • View Profile
Re: uMGW - release of Universal MGW daemon
« Reply #195 on: December 07, 2014, 09:04:36 pm »

What's the status of uMGW. Coins added recently?

In an attempt to consolidate needed effort to add a server triplet for a new coin, I came to this list:
  • work with james to get uMGW to support the coin, if it is not the case yet.
  • look for three thrustworthy volunteers to host a new MGW server for the coin.
  • Create a mgwCoin asset on the NXT AE
  • Work on a config to get the servers working.


Correct?

Basically those would be the steps. But uMGW is not anymore the software to run in new MGW clusters since the MGW codebase has been merged into SuperNET server code. If you want to provide gateway for a new coin, please drop me a line. Then we can test if it's supported, and see if we add it to the third cluster that's beginning development, or to a new cluster of its own.
 
Logged
GPG Fingerprint: B020 D1C1 F289 3B2C 3577  9EAD 455D D175 5913 C7F1
Pages: 1 ... 8 9 [10]  All
 

elective-stereophonic
elective-stereophonic
assembly
assembly