java.io.IOError: java.io.IOException: open failed: EROFS (Read-only file system)

GitHub | jackoneill23 | 5 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    EROFS Error on DefaultCertificate

    GitHub | 5 months ago | jackoneill23
    java.io.IOError: java.io.IOException: open failed: EROFS (Read-only file system)

    Root Cause Analysis

    1. java.io.IOError

      java.io.IOException: open failed: EROFS (Read-only file system)

      at com.microsoft.azure.iothub.DefaultCertificate.getDefaultCertificate()
    2. com.microsoft.azure
      DeviceClient.<init>
      1. com.microsoft.azure.iothub.DefaultCertificate.getDefaultCertificate(DefaultCertificate.java:52)
      2. com.microsoft.azure.iothub.DeviceClientConfig.<init>(DeviceClientConfig.java:83)
      3. com.microsoft.azure.iothub.DeviceClient.initIotHubClient(DeviceClient.java:340)
      4. com.microsoft.azure.iothub.DeviceClient.<init>(DeviceClient.java:155)
      4 frames