RE: Connection is broken, cannot receive request reply

2017-11-22 Thread Allan Udy via 4D_Tech

Hi David,

We've seen something similar in recent weeks.

Merged Server database running under Windows 2012 Server, problem seen 
with both 4D v16R3 and v16R4


Periodically, once every 18-36 hours the ten or more 4D Remote clients 
connected to the server lose contact with the server application. IN 
some cases there may be idle issues, but at least half a dozen of the 
users are using the database reasonably heavily on a continual basis 
throughout the day.


If the users quit the 4D Remote and then attempt to connect to the 
server again, they cannot make the connection. It appears that the 4D 
Server is no longer broadcasting its availability.


Interestingly enough the Web Server is still working perfectly well, 
even for brand new connections.


No spike in processes, cpu usage, or anything that even resembles a 
rouge / infinite process.


Only option is to quit the Server app and restart.

Customer is starting to get a bit grumpy about this and we're struggling 
to work out a solution to the problem.   :-(


Allan Udy


David Ringsmuth  wrote:


Date: Wed, 15 Nov 2017 11:46:01 -0600
Subject: RE: Connection is broken, cannot receive request reply

Alan,

SET DATABASE PARAMETER(54;4)

This is for testing, wanted to make sure 4D closed the connection, not any 
network resource. But alas something is closing it and 4D Remote is crashing 
because of it.

The crash occurs both after a long time of idle, and when the users are 
actively interacting in the application.

The SET DATABASE PARAMETER(14;1) AND SET DATABASE PARAMETER(13;1) seem to have 
made the idle error occur after a longer delay on our test network. But the 
error continues to occur both on our network, and on our client’s network.

We have not solved this problem. We plan to open a tech support case…

Thanks!
David Ringsmuth



Cheers,
Allan Udy

Golden Micro Solutions Ltd, Blenheim, New Zealand
http://www.golden.co.nz

**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: HTTP Request PATCH

2017-11-22 Thread Tom Swenson via 4D_Tech
Yep, I’ve had that “PATCH” working for some time interfacing with a couple of 
REST services.

On 11/22/17, 10:01 AM, "4D_Tech on behalf of Koen Van Hooreweghe via 4D_Tech" 
<4d_tech-boun...@lists.4d.com on behalf of 4d_tech@lists.4d.com> wrote:

Hi Doug,

There is no PATCH constant defined in 4D, but you can use “PATCH” as string 
for http method as the first parameter:
HTTP Request(“PATCH”;$url;…)

The other constants are just strings for the other method keywords: GET, 
POST,...

HTH
Koen

> Op 22 nov. 2017, om 11:15 heeft Douglas Cryer via 4D_Tech 
<4d_tech@lists.4d.com> het volgende geschreven:
> 
> But there is no PATCH method in 4D.  I tried using both PUT and POST and 
both return errors.  At this point I do not know if this is a 4D limitation or 
something to do with the body I am sending.  I just get back a 500 error: with 
the message:
> 



—
Koen Van Hooreweghe
—



**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Slow characters visualization

2017-11-22 Thread stardata.info via 4D_Tech

Someone have solved this issue?

Otherwise is better to work with 4D V15.4 is really slownes to write 
code with this delay.


Thanks
Ferdinando

Il 21/11/2017 18:35, 4d_tech-requ...@lists.4d.com ha scritto:

Message: 3
Date: Mon, 20 Nov 2017 20:00:36 -0600
From: John DeSoi
To: 4D iNug Technical<4d_tech@lists.4d.com>
Subject: Re: Slow characters visualization
Message-ID:<1f8db4c5-837d-48e3-b00f-acc6457db...@pgedit.com>
Content-Type: text/plain;   charset=us-ascii

Previously, I only had problems on the Mac with version 15.4 if I had many 
large methods open. Closing everything would solve the problem.

Then I upgraded the Mac from 10.11 to 10.13 High Sierra. Now a single large 
method open is enough to make typing code very frustrating. No problems with 
16.2 on the same computer.

Just wanted to mention it for those that might be considering using 10.13 with 
4D 15. Method editing is not only slow, but startup time and any database 
operation seems perceptively slower. Probably no surprise since 4D 15 is not 
certified to work with 10.13.

John DeSoi, Ph.D.




On Nov 20, 2017, at 3:37 PM, Keith Culotta via 4D_Tech<4d_tech@lists.4d.com>  
wrote:

Just to confirm, I have also seen the issue on my MacBook Pro since v15 was 
introduced.  It was intermittent, and I have not experienced it for a while. 
Sometimes quitting 4D and restarting would help.  Other times it would restart 
with the problem still present.  I never saw a clear pattern for what would 
trigger the slowness.


**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: HTTP Request PATCH

2017-11-22 Thread Koen Van Hooreweghe via 4D_Tech
Hi Doug,

There is no PATCH constant defined in 4D, but you can use “PATCH” as string for 
http method as the first parameter:
HTTP Request(“PATCH”;$url;…)

The other constants are just strings for the other method keywords: GET, 
POST,...

HTH
Koen

> Op 22 nov. 2017, om 11:15 heeft Douglas Cryer via 4D_Tech 
> <4d_tech@lists.4d.com> het volgende geschreven:
> 
> But there is no PATCH method in 4D.  I tried using both PUT and POST and both 
> return errors.  At this point I do not know if this is a 4D limitation or 
> something to do with the body I am sending.  I just get back a 500 error: 
> with the message:
> 



—
Koen Van Hooreweghe
—



**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Slow characters visualization

2017-11-22 Thread Jim Dorrance via 4D_Tech
Me too. Mac 10.12.6  4D 15.5

On Tue, Nov 21, 2017 at 10:53 PM, stardata.info via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> Yes! i have this issue...
>
> Thanks
> /Ferdinando/
>
>>
>> Il 21/11/2017 18:35, 4d_tech-requ...@lists.4d.com ha scritto:
>>
>>> Message: 4
>>> Date: Tue, 21 Nov 2017 06:49:58 +
>>> From: lists
>>> To: 4D iNug Technical<4d_tech@lists.4d.com>
>>> Subject: RE: Slow characters visualization
>>> Message-ID:
>>> >> 11.prod.outlook.com>
>>>
>>> Content-Type: text/plain; charset="utf-8"
>>>
>>> Ferdinando,
>>>
>>> There was an issue with memory leak in some versions that exhibit
>>> similar behaviour.  I know the issue existed in v16 (fixed in one of the
>>> NB), returned in 16r3 and 16r4, and it's been since fixed in 16r4 build
>>> 215501, but I don't know if it effected any v15 releases too.
>>>
>>> To verify if this is your issue, open a method with about 100 lines of
>>> code or more, scroll down to the bottom of the method (this is important to
>>> trigger the leak), open your task manager and look at the amount of memory
>>> 4D is taking.  If you notice the memory grow every second, you have a
>>> version with this leak.
>>>
>>> Regards,
>>>
>>> Lahav
>>>
>>
>>
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **
>



-- 
Jim Dorrance
jim.dorra...@gmail.com
4...@dorrance.eu
www.4d.dorrance.eu

PS: If you know of anyone that needs an experienced 4D programmer to add
energy and experience to their team, please let me know. I have
experience in many areas. Reasonable rates. Remote or Paris only.
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**