Comments (3)
The bug description no longer describes the current behaviour. Full testing:
http://google.codecity.world -> hang
https://google.codecity.world -> https://google.codecity.world
http://google.codecity.games -> hang
https://google.codecity.games -> https://google.codecity.world
http://google.codecity.academy -> hang
https://google.codecity.academy -> https://google.codecity.world
http://codecity.world -> https://codecity.world
https://codecity.world -> https://codecity.world
http://codecity.games -> https://codecity.games
https://codecity.games -> https://codecity.games
http://codecity.academy -> https://codecity.academy
https://codecity.academy -> https://codecity.academy
http://www.codecity.world -> https://codecity.world
https://www.codecity.world -> https://codecity.world
http://www.codecity.games -> https://codecity.games
https://www.codecity.games -> https://codecity.games
http://www.codecity.academy -> https://codecity.academy
https://www.codecity.academy -> https://codecity.academy
All permutations are correct, with the glaring exception that http://google.codecity.* hangs.
from codecity.
This failure to redirect is the fault of some firewall. Nginx appears to be properly configured:
> telnet localhost 80
Trying ::1...
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
> GET / HTTP/1.1
> Host: google.codecity.games
>
HTTP/1.1 301 Moved Permanently
Server: nginx/1.10.3
Date: Thu, 14 May 2020 04:02:02 GMT
Content-Type: text/html
Content-Length: 185
Connection: keep-alive
Location: https://google.codecity.world/ <- CORRECT!
<html>
<head><title>301 Moved Permanently</title></head>
<body bgcolor="white">
<center><h1>301 Moved Permanently</h1></center>
<hr><center>nginx/1.10.3</center>
</body>
</html>
from codecity.
Yes: it appears that, since we were moved from the google-default folder to the community folder, our firewall rules no longer allow traffic on port 80. Mind you, they also don't allow traffic from non-Google IP addresses at all, so this is the least of our problems.
This bug is probably a dup of "launch, so we can kill CGE Enforcer", but I'll leave it open so we don't forget about http.'
Do we want to canonicalise the homepage URLs? I seem to recall looking in to that and discovering that it was slightly less trivial to accomplish than it should be. Of course if we abandon app engine then we can just do it in nginx…
from codecity.
Related Issues (20)
- CodeCity list of running instances sometimes show false positives HOT 2
- nginx to {connect,login}Sever connection issues due to localhost IPv4 vs IPv6
- Static-to-static links issues (e.g. broken image on 503 page) HOT 1
- Service down HOT 1
- Use __Secure-prefixed cookies
- Use const and let instead of var HOT 3
- Login loop in code editor when no $.user object for given ID
- Have /connect signal connectServer when navigating away from page
- ⌘C does not copy text from world or log view
- JSSP, SVG and String editors should accept single-quoted strings
- Crash while checkpointing due to fs.* errors
- Check for crashes caused by string length limits
- OldNativeFunction should catch exceptions thrown from native .impl and rethrow
- connectServer should append ?after=… to loginUrl when redirecting due to missing ID cookie
- Check interpeter for potential long-running loops
- Object.prototype.toString.apply(null) should return '[object Null]'
- URLs incorrectly linkified in world view
- $.utils.code.toSource is unnecessarily conservative about quoting property names HOT 3
- Crash due to RegExp builtin bug
- Provide mechanism to run loginServer without depending on Google OAuth
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from codecity.