AnsweredAssumed Answered

Cannot connect to Ingenico Device on Linux

Question asked by christianayala on Sep 26, 2019
Latest reply on Oct 4, 2019 by egoins

I am currently using the Linux triPOS integration on the latest version of Fedora. I am able to setup the triPOS server and process /api/v1/sale API calls using the virtual lane with ID 9999. However, when attempting to connect an Ingenico device, I am receiving a SerialPort error that a given operation is not implemented. The relevant error log is below:

2019-09-26 09:48:38,478 [Thread Pool Worker] triPOS ERROR -  D:\TFS\tri01\_work\20\s\Source\TriPos.Pipeline\PinPadConnectionPool.cs.RefreshConnectionsFromMasterConfigError on connection check: 3
System.NotImplementedException: The method or operation is not implemented.
  at System.IO.Ports.SerialPort.set_DiscardNull (System.Boolean value) [0x00000] in <cae6d5d40bdb48e7919fce5039029dd1>:0 
  at (wrapper remoting-invoke-with-check) System.IO.Ports.SerialPort.set_DiscardNull(bool)
  at  .‚ ..ctor (System.String port, System.Int32 baudRate, System.IO.Ports.Parity parity, System.Int32 dataBits, System.IO.Ports.StopBits stopBits, System.IO.Ports.Handshake handshake, System.Int32 receivePacketDelay,  .   packetProtocol) [0x00024] in <0477d24a5046417686e9c0946c604032>:0 
  at  .  .Create (TriPos.Shared.Common.PinPadType   , System.String  , System.Int32 ž , System.IO.Ports.Parity Ÿ , System.Int32   , System.IO.Ports.StopBits   , System.IO.Ports.Handshake   , System.String   ) [0x000d3] in <0477d24a5046417686e9c0946c604032>:0 
  at  .  .Create (TriPos.Shared.Common.PinPadType   , System.String  , System.Int32 ž , System.IO.Ports.Parity Ÿ , System.Int32   , System.IO.Ports.StopBits   , System.IO.Ports.Handshake   , System.String   ) [0x0008e] in <0477d24a5046417686e9c0946c604032>:0 
  at  .  .›  (TriPos.Shared.Common.PinPadType   , TriPos.Shared.Configuration.PinPadConfig • ) [0x00057] in <0477d24a5046417686e9c0946c604032>:0 
  at  .  .Create (TriPos.Shared.Configuration.PinPadConfig • ) [0x0005e] in <0477d24a5046417686e9c0946c604032>:0 
  at  .  .Create (TriPos.Shared.Common.ILaneIdentifier  ) [0x00058] in <0477d24a5046417686e9c0946c604032>:0 
  at Š.”. (System.Int32  „) [0x00019] in <0477d24a5046417686e9c0946c604032>:0 
  at Š. ‘.› (System.Int32  „, TriPos.Shared.Configuration.MasterConfig ˜, TriPos.Shared.Configuration.LaneConfig œ) [0x0001d] in <0477d24a5046417686e9c0946c604032>:0 
  at Š. ‘+š™.˜™ (TriPos.Shared.Configuration.LaneConfig œ, System.Threading.Tasks.ParallelLoopState ™™) [0x00075] in <0477d24a5046417686e9c0946c604032>:0 


I can confirm that my triPOS.config file is setup correctly for that lane, with the correct port and connection parameters. Has anyone else run into this issue with Linux / Mono?