Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Other Discussions
  3. Site Bugs / Suggestions
  4. "Network error" trying to log in to the new site

"Network error" trying to log in to the new site

Scheduled Pinned Locked Moved Site Bugs / Suggestions
6 Posts 3 Posters 56 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Richard DeemingR Offline
    Richard DeemingR Offline
    Richard Deeming
    wrote last edited by
    #1

    I assume the new site is something that's still "under construction", even though it's now public. But the article lists don't load, and trying to log in just displays "network error".

    Looking in the browser console, it seems there's a CORS configuration issue on api-main.codeproject.com:

    Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at (url) (Reason: CORS header ‘Access-Control-Allow-Origin’ missing). Status code: 200.

    Repeated multiple times for:

    • https://api-main.codeproject.com/v1/dynamic-content?sectionName=home_page_card_group
    • https://api-main.codeproject.com/v1/dynamic-content?sectionName=top_banner
    • https://api-main.codeproject.com/v1/feature-flags/is-active
    • https://api-main.codeproject.com/v1/dynamic-content?sectionName=home_page_sidebar
    • https://api-main.codeproject.com/v1/article?type=main-page&attribute=all&limit=4&excludeContent=false

    "These people looked deep within my soul and assigned me a number based on the order in which I joined" - Homer

    D 1 Reply Last reply
    0
    • Richard DeemingR Richard Deeming

      I assume the new site is something that's still "under construction", even though it's now public. But the article lists don't load, and trying to log in just displays "network error".

      Looking in the browser console, it seems there's a CORS configuration issue on api-main.codeproject.com:

      Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at (url) (Reason: CORS header ‘Access-Control-Allow-Origin’ missing). Status code: 200.

      Repeated multiple times for:

      • https://api-main.codeproject.com/v1/dynamic-content?sectionName=home_page_card_group
      • https://api-main.codeproject.com/v1/dynamic-content?sectionName=top_banner
      • https://api-main.codeproject.com/v1/feature-flags/is-active
      • https://api-main.codeproject.com/v1/dynamic-content?sectionName=home_page_sidebar
      • https://api-main.codeproject.com/v1/article?type=main-page&attribute=all&limit=4&excludeContent=false
      D Offline
      D Offline
      dlymand2
      wrote last edited by
      #2

      @Richard-Deeming Hi Richard, it should be working now if you check again. We are still seeing some errors, but fixing them now, particularly around author linked stories.

      1 Reply Last reply
      0
      • Richard DeemingR Offline
        Richard DeemingR Offline
        Richard Deeming
        wrote last edited by
        #3

        I'm still seeing a lot of "CORS Missing Allow Origin" errors in the console, and none of the content seems to be loading. But I do now appear to be logged in, so there's some progress. 😊

        "These people looked deep within my soul and assigned me a number based on the order in which I joined" - Homer

        1 Reply Last reply
        0
        • Richard DeemingR Offline
          Richard DeemingR Offline
          Richard Deeming
          wrote last edited by AdminTqFDXRUkude
          #4

          However, I can't update my profile picture:

          Failed to upload file: ERROR

          "These people looked deep within my soul and assigned me a number based on the order in which I joined" - Homer

          D 1 Reply Last reply
          0
          • Richard DeemingR Richard Deeming

            However, I can't update my profile picture:

            Failed to upload file: ERROR

            D Offline
            D Offline
            dlymand2
            wrote last edited by
            #5

            @Richard-Deeming We are on it! Of course it worked in staging...sigh

            1 Reply Last reply
            1
            • realJSOPR Offline
              realJSOPR Offline
              realJSOP
              wrote last edited by
              #6

              We have dev, test, staging, and production, but staging and production are both five different sites that are each a little different (different server configs, and different processes). Count your blessings.

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups