# Network

**URL:** https://forums.solar2d.com/c/solar2d/network/51.md

[Latest](https://forums.solar2d.com/latest.md) · [Categories](https://forums.solar2d.com/categories.md)

---

## [About the Network category](https://forums.solar2d.com/t/about-the-network-category/148996)

<div class="topic-metadata">

**Author:** [@system](https://forums.solar2d.com/u/system)\
**Replies:** 0

</div>

---

## [Firebase Cloud Messaging](https://forums.solar2d.com/t/firebase-cloud-messaging/356536)

<div class="topic-metadata">

**Author:** [@LourencoA](https://forums.solar2d.com/u/LourencoA)\
**Replies:** 4\
**Last updated:** [December 22, 2025, 3:00am UTC](https://forums.solar2d.com/t/firebase-cloud-messaging/356536 "2025-12-22T03:00:45Z")

</div>

Hello, Firebase API Cloud Messaging (V1) will no longer be available on 20/06/2024. I am using this code to send notifications in my app : local url = "https://fcm.googleapis.com/fcm/send" local parameters = { he…

---

## [Making https request with custom cert](https://forums.solar2d.com/t/making-https-request-with-custom-cert/357653)

<div class="topic-metadata">

**Author:** [@anto](https://forums.solar2d.com/u/anto)\
**Replies:** 0\
**Last updated:** [December 10, 2025, 9:13am UTC](https://forums.solar2d.com/t/making-https-request-with-custom-cert/357653 "2025-12-10T09:13:19Z")

</div>

Hi In Solar2d (on Android), What’s the best way to you go amount making a https request with a custom cert (pem file). Is it just a case to crowbarring the pem file into the android resources folder somehow and solar2d…

---

## [\[Solved\] err\_cleartext\_not\_permitted](https://forums.solar2d.com/t/solved-err-cleartext-not-permitted/356650)

<div class="topic-metadata">

**Author:** [@ocnuybear](https://forums.solar2d.com/u/ocnuybear)\
**Replies:** 2\
**Last updated:** [July 9, 2024, 7:25am UTC](https://forums.solar2d.com/t/solved-err-cleartext-not-permitted/356650 "2024-07-09T07:25:42Z")

</div>

Building an App that connects to Open Hardware Monitor server \[https://openhardwaremonitor.org/\] (https://openhardwaremonitor.org/) on local LAN http://192.168.68.115:8085/ which works 100% on phone with chrome browser. …

---

## [network.download performance problems (Windows simulator)](https://forums.solar2d.com/t/network-download-performance-problems-windows-simulator/348249)

<div class="topic-metadata">

**Author:** [@sararose](https://forums.solar2d.com/u/sararose)\
**Replies:** 28\
**Last updated:** [March 11, 2024, 6:00am UTC](https://forums.solar2d.com/t/network-download-performance-problems-windows-simulator/348249 "2024-03-11T06:00:01Z")

</div>

Are there known performance problems using network.download running on Windows simulator? It takes over a minute to download a 65 MB file over 1Gbps unused LAN connection. Switching to external CDN with 40 Mbps interne…

---

## [dmc websockets](https://forums.solar2d.com/t/dmc-websockets/342644)

<div class="topic-metadata">

**Author:** [@prographodeveloper](https://forums.solar2d.com/u/prographodeveloper)\
**Replies:** 3\
**Last updated:** [February 21, 2024, 1:27pm UTC](https://forums.solar2d.com/t/dmc-websockets/342644 "2024-02-21T13:27:49Z")

</div>

Hi, does anyone use DMC Web Sockets? I’m pretty sure they used to work - but don’t seem to anymore (am on 2016.11.10) this prints “–\>onClose”, i.e. it gets a close event (should get an onOpen event) cat main.lua l…

---

## [Resuming a cancelled network.download()](https://forums.solar2d.com/t/resuming-a-cancelled-network-download/342914)

<div class="topic-metadata">

**Author:** [@joagre](https://forums.solar2d.com/u/joagre)\
**Replies:** 7\
**Last updated:** [December 4, 2023, 4:25am UTC](https://forums.solar2d.com/t/resuming-a-cancelled-network-download/342914 "2023-12-04T04:25:08Z")

</div>

Hi, I need to resume a network.download() call which was cancelled by an applicationSuspend system event or a network.cancel() call. I can obviously just remember the url and try to download the file again on applicati…

---

## [network.request and iOS 17 app crashes](https://forums.solar2d.com/t/network-request-and-ios-17-app-crashes/356042)

<div class="topic-metadata">

**Author:** [@ftsirigotis](https://forums.solar2d.com/u/ftsirigotis)\
**Replies:** 6\
**Last updated:** [October 16, 2023, 8:54pm UTC](https://forums.solar2d.com/t/network-request-and-ios-17-app-crashes/356042 "2023-10-16T20:54:00Z")

</div>

Hello, We found a serious bug with network.request and iOS 17. network.request in an app targeting Xcode15 ios17 causes an app crash on xcode iOS simulator and device. We tried network.download and had the same issue. …

---

## [Can't read Http Get response when is Content-Encoding: gzip](https://forums.solar2d.com/t/cant-read-http-get-response-when-is-content-encoding-gzip/355978)

<div class="topic-metadata">

**Author:** [@nbarrera](https://forums.solar2d.com/u/nbarrera)\
**Replies:** 3\
**Last updated:** [September 15, 2023, 10:13pm UTC](https://forums.solar2d.com/t/cant-read-http-get-response-when-is-content-encoding-gzip/355978 "2023-09-15T22:13:39Z")

</div>

Hi Solar2D Community! :wave: I need to get a file using an http request. The 3rd party server response’s is a json text which contains theContent-Encoding: gzip and Content-Type: application/json headers. I can’t corre…

---

## [Update Dropbox Rest API](https://forums.solar2d.com/t/update-dropbox-rest-api/355272)

<div class="topic-metadata">

**Author:** [@steevemoore](https://forums.solar2d.com/u/steevemoore)\
**Replies:** 3\
**Last updated:** [February 20, 2023, 9:15pm UTC](https://forums.solar2d.com/t/update-dropbox-rest-api/355272 "2023-02-20T21:15:26Z")

</div>

I found this Dropbox REST API module for Corona SDK | Corona Code Exchange (coronalabs.com) but it is based on oAuth 1 now Dropbox is oAuth 2 can I have the update please ?

---

## [Network request cache](https://forums.solar2d.com/t/network-request-cache/355417)

<div class="topic-metadata">

**Author:** [@LourencoA](https://forums.solar2d.com/u/LourencoA)\
**Replies:** 1\
**Last updated:** [February 13, 2023, 4:47pm UTC](https://forums.solar2d.com/t/network-request-cache/355417 "2023-02-13T16:47:27Z")

</div>

Hello, I am using network.request with the get method. However, seems that there is a cache on the simulator. Where is it stored and how to clear it? Is there the same on physical devices? Regards,

---

## [Non-cloud server multiplayer](https://forums.solar2d.com/t/non-cloud-server-multiplayer/355311)

<div class="topic-metadata">

**Author:** [@thegdog](https://forums.solar2d.com/u/thegdog)\
**Replies:** 14\
**Last updated:** [January 7, 2023, 8:21pm UTC](https://forums.solar2d.com/t/non-cloud-server-multiplayer/355311 "2023-01-07T20:21:22Z")

</div>

TL;DR: Looking for guidance on doing a “non-cloud server” multiplayer game. Hello all. Happy New Year! I used to do a lot of Corona development a few years ago, but haven’t touched it in quite a while. I’ve been contem…

---

## [Download selected file from remote server (2](https://forums.solar2d.com/t/download-selected-file-from-remote-server-2/354358)

<div class="topic-metadata">

**Author:** [@Saleh](https://forums.solar2d.com/u/Saleh)\
**Replies:** 1\
**Last updated:** [November 11, 2022, 6:42pm UTC](https://forums.solar2d.com/t/download-selected-file-from-remote-server-2/354358 "2022-11-11T18:42:44Z")

</div>

Hi, some days ago I requested help to download a file from a remote server displaying all downloadable files of a directory. Nobody answered, so I tried to find a way out! I succeeded to get what I wanted in the followi…

---

## [Solar2d and MongoDB](https://forums.solar2d.com/t/solar2d-and-mongodb/354258)

<div class="topic-metadata">

**Author:** [@apsan.marcelo](https://forums.solar2d.com/u/apsan.marcelo)\
**Replies:** 2\
**Last updated:** [December 1, 2021, 11:31am UTC](https://forums.solar2d.com/t/solar2d-and-mongodb/354258 "2021-12-01T11:31:12Z")

</div>

Hey guys, I want to make a business app that loads info from a mongo database. I’ve researched the forums here and I’ve come across a suggestion to use mongo rover library. Question is, how do I integrate it into …

---

## [JSON online storage](https://forums.solar2d.com/t/json-online-storage/353863)

<div class="topic-metadata">

**Author:** [@scottabroughton](https://forums.solar2d.com/u/scottabroughton)\
**Replies:** 2\
**Last updated:** [August 25, 2021, 9:23pm UTC](https://forums.solar2d.com/t/json-online-storage/353863 "2021-08-25T21:23:58Z")

</div>

I’m still a newbie, and for the app I’m working on I wanted to store some data (users, high scores, etc.) in a small JSON file. I found several websites that host JSON files, but I couldn’t get the upload to work with an…

---

## [network.upload returns 'false' instead of a handle](https://forums.solar2d.com/t/network-upload-returns-false-instead-of-a-handle/353860)

<div class="topic-metadata">

**Author:** [@sieler2](https://forums.solar2d.com/u/sieler2)\
**Replies:** 0\
**Last updated:** [August 23, 2021, 5:32am UTC](https://forums.solar2d.com/t/network-upload-returns-false-instead-of-a-handle/353860 "2021-08-23T05:32:44Z")

</div>

Hi… \[Android\] Code that used to work to upload to my web server, using network.upload, is now failing (I hadn’t tried it for a year, and I’ve edited/recompiled various things since then … but no changes in my separate …

---

## [Setting custom user agent string in WebView on iOS and Android](https://forums.solar2d.com/t/setting-custom-user-agent-string-in-webview-on-ios-and-android/353363)

<div class="topic-metadata">

**Author:** [@solares](https://forums.solar2d.com/u/solares)\
**Replies:** 1\
**Last updated:** [June 12, 2021, 4:47am UTC](https://forums.solar2d.com/t/setting-custom-user-agent-string-in-webview-on-ios-and-android/353363 "2021-06-12T04:47:45Z")

</div>

We are using a WebView to enable SSO login with Microsoft Active Directory within a Solar2D app. This works fine with Apple Sign-In, but fails for ‘Sign in with Google’, because it doesn’t recognize the user agent strin…

---

## [How can we use Json Web Token (JWT)?](https://forums.solar2d.com/t/how-can-we-use-json-web-token-jwt/348479)

<div class="topic-metadata">

**Author:** [@akao](https://forums.solar2d.com/u/akao)\
**Replies:** 9\
**Last updated:** [February 27, 2021, 5:24pm UTC](https://forums.solar2d.com/t/how-can-we-use-json-web-token-jwt/348479 "2021-02-27T17:24:41Z")

</div>

We are integrating to a backend service that uses json web token for authorization. Has anyone used json web token via Corona in the past? Does it work? We’ve found some lua libraries online but they seem to be mostly …

---

## [Corona Chat-App?](https://forums.solar2d.com/t/corona-chat-app/318903)

<div class="topic-metadata">

**Author:** [@bambenek](https://forums.solar2d.com/u/bambenek)\
**Replies:** 10\
**Last updated:** [November 29, 2013, 10:22pm UTC](https://forums.solar2d.com/t/corona-chat-app/318903 "2013-11-29T22:22:07Z")

</div>

Hello everybody, is it possible to create a corona chat app? I mean are there functions to send a message to a server and back to a user? If it is possible please give me some hints how to start and which functions I …

---

## [BUG - Network.request not accepting queries in the URL when running on Android.](https://forums.solar2d.com/t/bug-network-request-not-accepting-queries-in-the-url-when-running-on-android/339855)

<div class="topic-metadata">

**Author:** [@pablopost90](https://forums.solar2d.com/u/pablopost90)\
**Replies:** 58\
**Last updated:** [December 8, 2020, 5:42am UTC](https://forums.solar2d.com/t/bug-network-request-not-accepting-queries-in-the-url-when-running-on-android/339855 "2020-12-08T05:42:06Z")

</div>

Hello, We are having troubles with “Network.request()” function. I’ve tried in different versions of coronasdk including the latest daily build. The following code doesn’t work fine on Android (and it works perfecly on…

---

## [Can't connect to server](https://forums.solar2d.com/t/cant-connect-to-server/352833)

<div class="topic-metadata">

**Author:** [@adon1s](https://forums.solar2d.com/u/adon1s)\
**Replies:** 2\
**Last updated:** [December 4, 2020, 9:48pm UTC](https://forums.solar2d.com/t/cant-connect-to-server/352833 "2020-12-04T21:48:36Z")

</div>

So I have been using Corona Simulator for a while now. I started using it back in September for my Mobile Development Class. So recently I decided to make a build of the game that I wrote so I could test it out on my pho…

---

## [Get network.request response headers](https://forums.solar2d.com/t/get-network-request-response-headers/352446)

<div class="topic-metadata">

**Author:** [@hugbouchard](https://forums.solar2d.com/u/hugbouchard)\
**Replies:** 0\
**Last updated:** [October 1, 2020, 10:06pm UTC](https://forums.solar2d.com/t/get-network-request-response-headers/352446 "2020-10-01T22:06:59Z")

</div>

Hi! I’m using network.request like this: network.request( fullUrl, "POST", networkListener, params) and receiving the response in my network listener as such: local function networkListener( event ) if ( e…

---

## [Problem with json.decode](https://forums.solar2d.com/t/problem-with-json-decode/351889)

<div class="topic-metadata">

**Author:** [@magnusbekkestua](https://forums.solar2d.com/u/magnusbekkestua)\
**Replies:** 2\
**Last updated:** [July 22, 2020, 8:03pm UTC](https://forums.solar2d.com/t/problem-with-json-decode/351889 "2020-07-22T20:03:01Z")

</div>

When I access my phpscript the output look like this: {“Text1”:\[“1”,“1”,“2020-07-21”,“Testing”,“Magnus”\]} When I try to get it to my app something is wrong with the response from the server: From server: This site req…

---

## [Working Example of UDP Client/Server](https://forums.solar2d.com/t/working-example-of-udp-client-server/351852)

<div class="topic-metadata">

**Author:** [@roaminggamer](https://forums.solar2d.com/u/roaminggamer)\
**Replies:** 3\
**Last updated:** [July 15, 2020, 2:29pm UTC](https://forums.solar2d.com/t/working-example-of-udp-client-server/351852 "2020-07-15T14:29:05Z")

</div>

Someone asked for my help on getting UDP working with Solar 2D a while back and then later I stumbled upon some working code in my junk pile: https://github.com/roaminggamer/RG\_FreeStuff/raw/master/AskEd/2020/07/udp\_cli…

---

## [Sending Data to Server - Kills Connection](https://forums.solar2d.com/t/sending-data-to-server-kills-connection/351776)

<div class="topic-metadata">

**Author:** [@shadanq](https://forums.solar2d.com/u/shadanq)\
**Replies:** 1\
**Last updated:** [July 2, 2020, 4:55pm UTC](https://forums.solar2d.com/t/sending-data-to-server-kills-connection/351776 "2020-07-02T16:55:17Z")

</div>

I am working on an app that sends data to a server using a TCP connection. The app can establish the connection, but if I send commands to do stuff (in the case of my app, run tests on an external network connected machi…

---

## [Sending a continuous ping to server in app](https://forums.solar2d.com/t/sending-a-continuous-ping-to-server-in-app/351635)

<div class="topic-metadata">

**Author:** [@shadanq](https://forums.solar2d.com/u/shadanq)\
**Replies:** 2\
**Last updated:** [June 17, 2020, 5:59am UTC](https://forums.solar2d.com/t/sending-a-continuous-ping-to-server-in-app/351635 "2020-06-17T05:59:17Z")

</div>

Hi, I am working on an app that is supposed to connect to, and ping a server via TCP connection on clicking a button. I have put my server communication inside a coroutine however when I click on the button and the socke…

---

## [How to write the response from a network.request() to a variable?](https://forums.solar2d.com/t/how-to-write-the-response-from-a-network-request-to-a-variable/151115)

<div class="topic-metadata">

**Author:** [@ray6](https://forums.solar2d.com/u/ray6)\
**Replies:** 3\
**Last updated:** [February 4, 2020, 3:06pm UTC](https://forums.solar2d.com/t/how-to-write-the-response-from-a-network-request-to-a-variable/151115 "2020-02-04T15:06:12Z")

</div>

I’ve read everything that I can find about this in the forums and the docs, and clearly I’m missing something important, but I have no idea what it is. I’m sending a GET request to a network device and I want to save it…

---

## [network: SSL handshake aborted: ssl=0x6cbfe878: I/O error during system call, Connection reset by peer](https://forums.solar2d.com/t/network-ssl-handshake-aborted-ssl-0x6cbfe878-i-o-error-during-system-call-connection-reset-by-peer/151076)

<div class="topic-metadata">

**Author:** [@cjorgens79](https://forums.solar2d.com/u/cjorgens79)\
**Replies:** 5\
**Last updated:** [January 31, 2020, 10:31am UTC](https://forums.solar2d.com/t/network-ssl-handshake-aborted-ssl-0x6cbfe878-i-o-error-during-system-call-connection-reset-by-peer/151076 "2020-01-31T10:31:49Z")

</div>

Hi, I have just updated to the latest Corona SDK 2020.3567 due to the new Android API SDK 28+ requirements and I am now getting issues on older devices (Android 4.4.2) when connecting to secure servers. The error I se…

---

## [network.download() used to download file from Google Drive or Dropbox is not working](https://forums.solar2d.com/t/network-download-used-to-download-file-from-google-drive-or-dropbox-is-not-working/150906)

<div class="topic-metadata">

**Author:** [@BK\_PANARA](https://forums.solar2d.com/u/BK_PANARA)\
**Replies:** 4\
**Last updated:** [January 9, 2020, 3:25pm UTC](https://forums.solar2d.com/t/network-download-used-to-download-file-from-google-drive-or-dropbox-is-not-working/150906 "2020-01-09T15:25:40Z")

</div>

Hello Guys, I am trying to download a file from Google Drive and Dropbox. I upload my PNG file to Google Drive OR Dropbox click share and create public download link Now I have public URL to download the file I have…

---

## [Bug: ZeroConf pluging fails on App restart](https://forums.solar2d.com/t/bug-zeroconf-pluging-fails-on-app-restart/350104)

<div class="topic-metadata">

**Author:** [@asensio.aerospace](https://forums.solar2d.com/u/asensio.aerospace)\
**Replies:** 14\
**Last updated:** [July 2, 2019, 4:09pm UTC](https://forums.solar2d.com/t/bug-zeroconf-pluging-fails-on-app-restart/350104 "2019-07-02T16:09:53Z")

</div>

Hi, I don’t know if this is the right forum to post this. Also, I tried to report a bug and I never got an ID to track it, so I wasn’t sure if the feature was working / I was reporting it properly. Bug Description : Th…

[Next page](https://forums.solar2d.com/c/solar2d/network/51.md?page=1)
