Teapot Posted February 25 Share Posted February 25 (edited) I'm trying to use FujiNet in an Atari CC65 program to fetch JSON data from HTTP. I made a local copy of a data file and am serving it with the minimal python http server. This worked great and I have the data displaying. I then switched to the real URL and I wind up with truncated data. Variants of the URL to fetch different data sets also fail the same way. The data loads fine in a browser (directly or via JS). I checked with some URLs on other servers and they all load properly. I've included the log output of a minimal test program. It just performs an open, status, close, status sequence on the local URL and then on the remote URL. The local file was directly saved from the remote URL. The notable differences are during the status call after the open call: -- local -- [17:49:08] 0000ab07 _perform status = 200, length = 10460, chunked = 0 [17:49:08] sio_status_channel() - BW: 10460 C : 1 E: 1 -- remote -- [17:49:20] 0000d9c5 _perform status = 200, length = -1, chunked = 1 [17:49:20] sio_status_channel() - BW: 3944 C : 1 E: 1 opentest.txt Edited February 25 by Teapot Quote Link to comment https://forums.atariage.com/topic/362043-bug-when-trying-to-open-specific-remote-https-url/ Share on other sites More sharing options...
mozzwald Posted February 25 Share Posted February 25 10 hours ago, Teapot said: [17:49:20] 0000d9c5 _perform status = 200, length = -1, chunked = 1 Are you running the latest firmware version v1.2.0? I see the server is using chunked transfers which should have been fixed in the firmware last August. Quote Link to comment https://forums.atariage.com/topic/362043-bug-when-trying-to-open-specific-remote-https-url/#findComment-5417761 Share on other sites More sharing options...
Teapot Posted February 29 Author Share Posted February 29 Updated the firmware and it works as expected now. In the early days of having the FujiNet I updated as soon as I saw an announcement. It became an automatic activity and I stopped actually thinking about it. Then the automatic got disrupted. And I continued to not think about it. I don't know when I stopped, the firmware I replaced isn't in the drop-down list. I only know it happened after the flasher update that changed the baud rate. Anyway, thanks. 2 Quote Link to comment https://forums.atariage.com/topic/362043-bug-when-trying-to-open-specific-remote-https-url/#findComment-5420335 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.