Problems reaching host with oHTTPWorker

Scotte Meredith spomacguy at gmail.com
Thu Apr 14 20:15:47 UTC 2022


I have some code that has been working to access a credit card processor from a JS remote form. It has been working for a while, but in the last month has quit. Talked with the credit card processor and they swear nothing has changed on their end.

I've $init'd the worker and called $run. I put a breakpoint in the $completed method. The row is returning errorCode=6 and errorInfo=Could not resolve host: api.emergepay-sandbox.chargeitpro.com

Sure enough, if I try to go to that site in a browser, it says it cannot connect.

However, the code in the $init passed in https://api.emergepay-sandbox.chargeitpro.com. If I try to go to that URL in a browser, it is successful. It seems like the "https://" is not being respected. If I step back through the code a number of times, sometimes I will get a connection and the right info is returned.

This occurs with using either $run or $start. 

Any ideas on what I should be looking for? 

This is occurring on both Studio 8.1.6 and 10.2 (30204) in Windows with similar issues on Mac. I'm going to install (31315) on that machine and see if it makes a difference.



Scotte Meredith
spomacguy at gmail.com
509/998-0991






More information about the omnisdev-en mailing list